Düzenle

Aracılığıyla paylaş


botbuilder-lg package

Classes

Analyzer

Analyzer engine. To get the static analyzer results.

AnalyzerOptions

Options for analyzing LG templates.

AnalyzerResult

Analyzer result. Contains variables and template references.

CustomizedMemory

A customized memory designed for LG evaluation, in which we want to make sure the global memory (the first memory passed in) can be accessible at any sub evaluation process.

Diagnostic

Diagnostic class

ErrorListener

LG parser error listener.

EvaluationOptions

Options for evaluating LG templates.

EvaluationTarget

Runtime template state.

Evaluator

Evaluation runtime engine

Expander

LG template expander.

Extractor

Lg template extracter.

LGFileLexer
CommentDefinitionContext
ErrorDefinitionContext
FileContext
ImportDefinitionContext
LGFileParser
OptionDefinitionContext
ParagraphContext
TemplateBodyContext
TemplateBodyLineContext
TemplateDefinitionContext
TemplateNameLineContext
LGTemplateLexer
BodyContext
ErrorStructureLineContext
ErrorStructuredNameContext
ErrorTemplateStringContext
ExpressionContext
ExpressionInStructureContext
IfConditionContext
IfConditionRuleContext
IfElseBodyContext
IfElseTemplateBodyContext
KeyValueStructureLineContext
KeyValueStructureValueContext
LGTemplateParser
NormalBodyContext
NormalTemplateBodyContext
NormalTemplateStringContext
StructuredBodyContentLineContext
StructuredBodyContext
StructuredBodyEndLineContext
StructuredBodyNameLineContext
StructuredTemplateBodyContext
SwitchCaseBodyContext
SwitchCaseRuleContext
SwitchCaseStatContext
SwitchCaseTemplateBodyContext
TemplateContext
TemplateStringContext
LGResource

LG resource entity, contains some core data structure.

MultiLanguageLG

Multi locale Template Manager for language generation. This template manager will enumerate multi-locale LG files and will select the appropriate template using the current culture to perform template evaluation.

Position

Position class

Range

Range class

SourceRange

Position class

StaticChecker

LG managed code checker.

Template

Here is a data model that can easily understanded and used as the context or all kinds of visitors wether it's evalator, static checker, anayler.. etc

TemplateErrors

Centralized LG errors.

TemplateException

LG Exception that contains diagnostics.

TemplateExtensions

Extension methods for LG.

TemplateImport

Here is a data model that can help users understand and use the LG import definition in LG files easily.

Templates

LG entrance, including properties that LG file has, and evaluate functions.

TemplatesParser

LG Parser

TemplatesTransformer

Templates transformer. Add more details and body context into the templates object.

Interfaces

LGFileParserListener

This interface defines a complete listener for a parse tree produced by LGFileParser.

LGFileParserVisitor

This interface defines a complete generic visitor for a parse tree produced by LGFileParser.

LGTemplateParserListener

This interface defines a complete listener for a parse tree produced by LGTemplateParser.

LGTemplateParserVisitor

This interface defines a complete generic visitor for a parse tree produced by LGTemplateParser.

Type Aliases

ImportResolverDelegate

Enums

DiagnosticSeverity

DiagnosticSeverity enum

LGCacheScope

LG cache scope options.

LGLineBreakStyle

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.

FileFormat

Filr formats.