public class GosuProgramParser extends Object implements IGosuProgramParser
| Constructor and Description |
|---|
GosuProgramParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
makeEvalKey(String source,
IType enclosingClass,
int offset) |
static String |
makeEvalKey(String strSource,
IType enclosingClass,
IParsedElement ctxElem) |
IParseResult |
parseEval(String strSource,
List<ICapturedSymbol> captured,
IType enclosingClass,
IParsedElement ctxElem,
ISymbolTable extSyms) |
IParseResult |
parseExpressionOnly(String strSource,
ISymbolTable symTable,
ParserOptions options) |
IParseResult |
parseExpressionOrProgram(String strSource,
ISymbolTable symTable,
ParserOptions options) |
IParseResult |
parseProgramOnly(String strSource,
ISymbolTable symTable,
ParserOptions options) |
IParseResult |
parseRuntimeExpr(String typeName,
String strSource,
IType enclosingClass,
ISymbolTable extSyms,
IParseTree ctxElem) |
IParseResult |
parseTemplate(String strSource,
ISymbolTable symTable,
ParserOptions options) |
public IParseResult parseEval(String strSource, List<ICapturedSymbol> captured, IType enclosingClass, IParsedElement ctxElem, ISymbolTable extSyms)
parseEval in interface IGosuProgramParserpublic IParseResult parseRuntimeExpr(String typeName, String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem)
parseRuntimeExpr in interface IGosuProgramParserpublic static String makeEvalKey(String strSource, IType enclosingClass, IParsedElement ctxElem)
public IParseResult parseExpressionOnly(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException
parseExpressionOnly in interface IGosuProgramParserParseResultsExceptionpublic IParseResult parseProgramOnly(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException
parseProgramOnly in interface IGosuProgramParserParseResultsExceptionpublic IParseResult parseExpressionOrProgram(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException
parseExpressionOrProgram in interface IGosuProgramParserParseResultsExceptionpublic IParseResult parseTemplate(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException
parseTemplate in interface IGosuProgramParserParseResultsExceptionCopyright © 2019. All rights reserved.