Package gw.internal.gosu.parser
Class GosuFragmentParser
- java.lang.Object
-
- gw.internal.gosu.parser.GosuFragmentParser
-
- All Implemented Interfaces:
IGosuFragmentParser
public class GosuFragmentParser extends Object implements IGosuFragmentParser
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GosuFragmentParsergetInstance()IGosuFragmentparseExpressionOnly(String script, ISymbolTable table, ParserOptions options)IGosuFragmentparseExpressionOrProgram(String script, ISymbolTable table, ParserOptions options)IGosuFragmentparseProgramOnly(String script, ISymbolTable table, ParserOptions options)
-
-
-
Method Detail
-
getInstance
public static GosuFragmentParser getInstance()
-
parseExpressionOnly
public IGosuFragment parseExpressionOnly(String script, ISymbolTable table, ParserOptions options) throws ParseResultsException
- Specified by:
parseExpressionOnlyin interfaceIGosuFragmentParser- Throws:
ParseResultsException
-
parseProgramOnly
public IGosuFragment parseProgramOnly(String script, ISymbolTable table, ParserOptions options) throws ParseResultsException
- Specified by:
parseProgramOnlyin interfaceIGosuFragmentParser- Throws:
ParseResultsException
-
parseExpressionOrProgram
public IGosuFragment parseExpressionOrProgram(String script, ISymbolTable table, ParserOptions options) throws ParseResultsException
- Specified by:
parseExpressionOrProgramin interfaceIGosuFragmentParser- Throws:
ParseResultsException
-
-