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 GosuFragmentParser
getInstance()
IGosuFragment
parseExpressionOnly(String script, ISymbolTable table, ParserOptions options)
IGosuFragment
parseExpressionOrProgram(String script, ISymbolTable table, ParserOptions options)
IGosuFragment
parseProgramOnly(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:
parseExpressionOnly
in interfaceIGosuFragmentParser
- Throws:
ParseResultsException
-
parseProgramOnly
public IGosuFragment parseProgramOnly(String script, ISymbolTable table, ParserOptions options) throws ParseResultsException
- Specified by:
parseProgramOnly
in interfaceIGosuFragmentParser
- Throws:
ParseResultsException
-
parseExpressionOrProgram
public IGosuFragment parseExpressionOrProgram(String script, ISymbolTable table, ParserOptions options) throws ParseResultsException
- Specified by:
parseExpressionOrProgram
in interfaceIGosuFragmentParser
- Throws:
ParseResultsException
-
-