SourceRange class
Position class
Constructors
Source |
Creates a new instance of the SourceRange class. |
Source |
Creates a new instance of the SourceRange class. |
Properties
range | Range of block. |
source | Code source, used as the lg file path. |
Constructor Details
SourceRange(ParserRuleContext, string, number)
Creates a new instance of the SourceRange class.
new SourceRange(parseTree: ParserRuleContext, source?: string, offset?: number)
Parameters
- parseTree
-
ParserRuleContext
ParserRuleContext
. Rule invocation record for parsing.
- source
-
string
Optional. Source, used as the lg file path.
- offset
-
number
Optional. Offset in the parse tree.
SourceRange(Range, string)
Creates a new instance of the SourceRange class.
new SourceRange(range: Range, source?: string)
Parameters
- range
- Range
(xref:botbuilder-lg.Range) of block.
- source
-
string
Optional. Source, used as the lg file path.
Property Details
range
source
Code source, used as the lg file path.
source: string
Property Value
string