Package gw.lang.parser
Interface IGosuParserFactory
-
- All Superinterfaces:
IPluginHost
,IService
- All Known Implementing Classes:
GosuParserFactoryImpl
public interface IGosuParserFactory extends IService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IGosuClassParser
createClassParser(IGosuParser parser)
IGosuFragmentParser
createFragmentParser()
IGosuParser
createParser(ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
Creates an IGosuParser appropriate for parsing and executing Gosu.IGosuParser
createParser(String strSource)
IGosuParser
createParser(String strSource, ISymbolTable symTable)
Creates an IGosuParser appropriate for parsing and executing Gosu.IGosuParser
createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
IGosuParser
createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap)
IGosuProgramParser
createProgramParser()
-
Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
-
-
-
Method Detail
-
createParser
IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap)
-
createParser
IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
-
createParser
IGosuParser createParser(ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
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
IGosuParser createParser(String strSource, ISymbolTable symTable)
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
IGosuParser createParser(String strSource)
-
createClassParser
IGosuClassParser createClassParser(IGosuParser parser)
-
createProgramParser
IGosuProgramParser createProgramParser()
-
createFragmentParser
IGosuFragmentParser createFragmentParser()
-
-