QsFragment Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public QsFragment (Microsoft.Quantum.QsCompiler.SyntaxTokens.QsFragmentKind kind, Microsoft.Quantum.QsCompiler.DataTypes.Range range, System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic> diagnostics, string text);
new Microsoft.Quantum.QsCompiler.SyntaxTokens.QsFragment : Microsoft.Quantum.QsCompiler.SyntaxTokens.QsFragmentKind * Microsoft.Quantum.QsCompiler.DataTypes.Range * System.Collections.Immutable.ImmutableArray<Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic> * string -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsFragment
Public Sub New (kind As QsFragmentKind, range As Range, diagnostics As ImmutableArray(Of QsCompilerDiagnostic), text As String)
Parameters
- kind
- QsFragmentKind
- range
- Range
- diagnostics
- ImmutableArray<QsCompilerDiagnostic>
- text
- String