Class ShuntingYard.ShuntingYardGrammarParserFactory
java.lang.Object
com.singularsys.jep.configurableparser.ShuntingYard.ShuntingYardGrammarParserFactory
- All Implemented Interfaces:
GrammarParserFactory
,JepComponent
,Serializable
- Enclosing class:
ShuntingYard
public static class ShuntingYard.ShuntingYardGrammarParserFactory
extends Object
implements GrammarParserFactory
Factory creating new ShuntingYard instances.
- Since:
- 3.4
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturns this.void
Initialize the component.Create a new ShuntingYard instance.
-
Constructor Details
-
ShuntingYardGrammarParserFactory
public ShuntingYardGrammarParserFactory()
-
-
Method Details
-
newInstance
Create a new ShuntingYard instance.- Specified by:
newInstance
in interfaceGrammarParserFactory
-
init
Description copied from interface:JepComponent
Initialize the component. This method is called whenever a component is added to Jep. Hence, it allows components to keep track of the other components they may rely on.- Specified by:
init
in interfaceJepComponent
- Parameters:
jep
- the current Jep instance
-
getLightWeightInstance
returns this.- Specified by:
getLightWeightInstance
in interfaceJepComponent
- Returns:
- either a new instance, null or 'this'.
-