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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns this.voidInitialize the component.Create a new ShuntingYard instance.
-
Constructor Details
-
ShuntingYardGrammarParserFactory
public ShuntingYardGrammarParserFactory()
-
-
Method Details
-
newInstance
Create a new ShuntingYard instance.- Specified by:
newInstancein interfaceGrammarParserFactory
-
init
Description copied from interface:JepComponentInitialize 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:
initin interfaceJepComponent- Parameters:
jep- the current Jep instance
-
getLightWeightInstance
returns this.- Specified by:
getLightWeightInstancein interfaceJepComponent- Returns:
- either a new instance, null or 'this'.
-