Class LineNumberingShuntingYard.LineNumberGrammarParserFactory
- java.lang.Object
-
- com.singularsys.jep.misc.lineNumbering.LineNumberingShuntingYard.LineNumberGrammarParserFactory
-
- All Implemented Interfaces:
GrammarParserFactory
,JepComponent
,java.io.Serializable
- Enclosing class:
- LineNumberingShuntingYard
public static class LineNumberingShuntingYard.LineNumberGrammarParserFactory extends java.lang.Object implements GrammarParserFactory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LineNumberGrammarParserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JepComponent
getLightWeightInstance()
returns this.void
init(Jep jep)
Initialize the component.GrammarParser
newInstance(ConfigurableParser cp)
-
-
-
Method Detail
-
newInstance
public GrammarParser newInstance(ConfigurableParser cp)
- Specified by:
newInstance
in interfaceGrammarParserFactory
-
init
public void init(Jep jep)
Description copied from interface:JepComponent
Initialize the component. This methods 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
public JepComponent getLightWeightInstance()
returns this.- Specified by:
getLightWeightInstance
in interfaceJepComponent
- Returns:
- either an new instance, null or 'this'.
-
-