Package gw.lang.parser
Interface IGosuParserFactory
- All Superinterfaces:
IPluginHost
,IService
- All Known Implementing Classes:
GosuParserFactoryImpl
-
Method Summary
Modifier and TypeMethodDescriptioncreateClassParser
(IGosuParser parser) createParser
(ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint) Creates an IGosuParser appropriate for parsing and executing Gosu.createParser
(String strSource) createParser
(String strSource, ISymbolTable symTable) Creates an IGosuParser appropriate for parsing and executing Gosu.createParser
(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint) createParser
(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap) Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
Method Details
-
createParser
IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap) -
createParser
IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint) -
createParser
Creates an IGosuParser appropriate for parsing and executing Gosu.- Parameters:
symTable
- The symbol table the parser uses to parse and execute script.- Returns:
- A parser appropriate for parsing Gosu source.
-
createParser
Creates an IGosuParser appropriate for parsing and executing Gosu.- Parameters:
strSource
- The text of the the rule sourcesymTable
- The symbol table the parser uses to parse and execute the rule- Returns:
- A parser appropriate for parsing Gosu source.
-
createParser
-
createClassParser
-
createProgramParser
IGosuProgramParser createProgramParser() -
createFragmentParser
IGosuFragmentParser createFragmentParser()
-