SourceRange class
Position クラス
コンストラクター
Source |
SourceRange クラスの新しいインスタンスを作成します。 |
Source |
SourceRange クラスの新しいインスタンスを作成します。 |
プロパティ
range | ブロックの範囲。 |
source | lg ファイル パスとして使用されるコード ソース。 |
コンストラクターの詳細
SourceRange(ParserRuleContext, string, number)
SourceRange クラスの新しいインスタンスを作成します。
new SourceRange(parseTree: ParserRuleContext, source?: string, offset?: number)
パラメーター
- parseTree
-
ParserRuleContext
ParserRuleContext
. 解析用のルール呼び出しレコード。
- source
-
string
随意。 ソース。lg ファイル パスとして使用されます。
- offset
-
number
随意。 解析ツリー内のオフセット。
SourceRange(Range, string)
SourceRange クラスの新しいインスタンスを作成します。
new SourceRange(range: Range, source?: string)
パラメーター
- range
- Range
(xref:botbuilder-lg.ブロックの範囲)。
- source
-
string
随意。 ソース。lg ファイル パスとして使用されます。
プロパティの詳細
range
source
lg ファイル パスとして使用されるコード ソース。
source: string
プロパティ値
string