Package gw.lang.parser
Interface IGosuParserFactory
-
- All Superinterfaces:
IPluginHost,IService
public interface IGosuParserFactory extends IService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IGosuClassParsercreateClassParser(IGosuParser parser)IGosuFragmentParsercreateFragmentParser()IGosuParsercreateParser(ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)Creates an IGosuParser appropriate for parsing and executing Gosu.IGosuParsercreateParser(String strSource)IGosuParsercreateParser(String strSource, ISymbolTable symTable)Creates an IGosuParser appropriate for parsing and executing Gosu.IGosuParsercreateParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)IGosuParsercreateParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap)IGosuProgramParsercreateProgramParser()-
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()
-
-