Package gw.lang.parser
Interface IGosuProgramParser
- All Known Implementing Classes:
GosuProgramParser
public interface IGosuProgramParser
-
Method Summary
Modifier and TypeMethodDescriptionparseEval
(String strSource, List<ICapturedSymbol> symTable, IType enclosingClass, IParsedElement evalExpressionOrAnyCtxElement, ISymbolTable extSyms) parseExpressionOnly
(String strSource, ISymbolTable symTable, ParserOptions options) parseExpressionOrProgram
(String strSource, ISymbolTable symTable, ParserOptions options) parseProgramOnly
(String strSource, ISymbolTable symTable, ParserOptions options) parseRuntimeExpr
(String typeName, String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem) parseTemplate
(String strSource, ISymbolTable symTable, ParserOptions options)
-
Method Details
-
parseExpressionOnly
IParseResult parseExpressionOnly(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException - Throws:
ParseResultsException
-
parseProgramOnly
IParseResult parseProgramOnly(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException - Throws:
ParseResultsException
-
parseExpressionOrProgram
IParseResult parseExpressionOrProgram(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException - Throws:
ParseResultsException
-
parseTemplate
IParseResult parseTemplate(String strSource, ISymbolTable symTable, ParserOptions options) throws ParseResultsException - Throws:
ParseResultsException
-
parseEval
IParseResult parseEval(String strSource, List<ICapturedSymbol> symTable, IType enclosingClass, IParsedElement evalExpressionOrAnyCtxElement, ISymbolTable extSyms) -
parseRuntimeExpr
IParseResult parseRuntimeExpr(String typeName, String strSource, IType enclosingClass, ISymbolTable extSyms, IParseTree ctxElem)
-