语言

ExpressionParser.AntlrParse(String) 方法

定义

把表达式解析成 ANTLR 的词汇器和解析器。

protected static Antlr4.Runtime.Tree.IParseTree AntlrParse(string expression);
static member AntlrParse : string -> Antlr4.Runtime.Tree.IParseTree
Protected Shared Function AntlrParse (expression As String) As IParseTree

参数

expression
String

输入字符串表达式。

返回

Antlr4.Runtime.Tree.IParseTree

一个解析树。

适用于