public class GosuParserFactory extends Object
| Constructor and Description |
|---|
GosuParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
static IGosuClassParser |
createClassParser(IGosuParser parser) |
static IGosuFragmentParser |
createFragmentParser() |
static IGosuParser |
createParser(ISymbolTable symTable,
IScriptabilityModifier scriptabilityConstraint)
Creates an IGosuParser appropriate for parsing and executing Gosu.
|
static IGosuParser |
createParser(String strSource) |
static IGosuParser |
createParser(String strSource,
ISymbolTable symTable)
Creates an IGosuParser appropriate for parsing and executing Gosu.
|
static IGosuParser |
createParser(String strSource,
ISymbolTable symTable,
IScriptabilityModifier scriptabilityConstraint)
Creates an IGosuParser appropriate for parsing and executing Gosu.
|
static IGosuParser |
createParser(String strSource,
ISymbolTable symTable,
IScriptabilityModifier scriptabilityConstraint,
ITypeUsesMap tuMap)
Creates an IGosuParser appropriate for parsing and executing Gosu.
|
static IGosuProgramParser |
createProgramParser() |
static <T> T |
getInterface(Class<T> apiClass) |
public static IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
strSource - 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 static IGosuParser createParser(String strSource, ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint, ITypeUsesMap tuMap)
strSource - 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 static IGosuParser createParser(ISymbolTable symTable, IScriptabilityModifier scriptabilityConstraint)
symTable - The symbol table the parser uses to parse and execute script.public static IGosuParser createParser(String strSource, ISymbolTable symTable)
strSource - The text of the the rule sourcesymTable - The symbol table the parser uses to parse and execute the rulepublic static IGosuParser createParser(String strSource)
public static IGosuClassParser createClassParser(IGosuParser parser)
public static IGosuProgramParser createProgramParser()
public static IGosuFragmentParser createFragmentParser()
public static <T> T getInterface(Class<T> apiClass)
Copyright © 2022. All rights reserved.