SourceRange Constructors

Definition

Overloads

SourceRange(Range, String)

Initializes a new instance of the SourceRange class.

SourceRange(ParserRuleContext, String, Int32)

Initializes a new instance of the SourceRange class.

SourceRange(Range, String)

Initializes a new instance of the SourceRange class.

public SourceRange (Microsoft.Bot.Builder.LanguageGeneration.Range range, string source = "");
new Microsoft.Bot.Builder.LanguageGeneration.SourceRange : Microsoft.Bot.Builder.LanguageGeneration.Range * string -> Microsoft.Bot.Builder.LanguageGeneration.SourceRange
Public Sub New (range As Range, Optional source As String = "")

Parameters

range
Range

Range of the block.

source
String

Source, used as the lg file path.

Applies to

SourceRange(ParserRuleContext, String, Int32)

Initializes a new instance of the SourceRange class.

public SourceRange (Antlr4.Runtime.ParserRuleContext parseTree, string source = "", int offset = 0);
new Microsoft.Bot.Builder.LanguageGeneration.SourceRange : Antlr4.Runtime.ParserRuleContext * string * int -> Microsoft.Bot.Builder.LanguageGeneration.SourceRange
Public Sub New (parseTree As ParserRuleContext, Optional source As String = "", Optional offset As Integer = 0)

Parameters

parseTree
Antlr4.Runtime.ParserRuleContext

Rule invocation record for parsing.

source
String

Source, used as the lg file path.

offset
Int32

Offset in the parse tree.

Applies to