public class GosuParserFactoryImpl extends BaseService implements IGosuParserFactory
| Constructor and Description |
|---|
GosuParserFactoryImpl() |
| Modifier and Type | Method and 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)
Creates an IGosuParser appropriate for parsing and executing Gosu.
|
IGosuParser |
createParser(String strSource,
ISymbolTable symTable,
IScriptabilityModifier scriptabilityConstraint,
ITypeUsesMap tuMap)
Creates an IGosuParser appropriate for parsing and executing Gosu.
|
IGosuProgramParser |
createProgramParser() |
<T> T |
getInterface(Class<T> apiInterface) |
public IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
createParser in interface IGosuParserFactorystrSource - The text of the the rule sourcesymTable - The symbol table the parser uses to parse and execute the rulescriptabilityConstraint - Specifies the types of methods/properties that are visiblepublic IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap)
createParser in interface IGosuParserFactorystrSource - The text of the the rule sourcesymTable - The symbol table the parser uses to parse and execute the rulescriptabilityConstraint - Specifies the types of methods/properties that are visiblepublic IGosuParser createParser(ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
createParser in interface IGosuParserFactorysymTable - The symbol table the parser uses to parse and execute script.public IGosuParser createParser(String strSource, ISymbolTable symTable)
createParser in interface IGosuParserFactorystrSource - The text of the the rule sourcesymTable - The symbol table the parser uses to parse and execute the rulepublic IGosuParser createParser(String strSource)
createParser in interface IGosuParserFactorypublic IGosuClassParser createClassParser(IGosuParser parser)
createClassParser in interface IGosuParserFactorypublic IGosuProgramParser createProgramParser()
createProgramParser in interface IGosuParserFactorypublic IGosuFragmentParser createFragmentParser()
createFragmentParser in interface IGosuParserFactorypublic <T> T getInterface(Class<T> apiInterface)
getInterface in interface IPluginHostCopyright © 2019. All rights reserved.