Class CClassBaseListener
- java.lang.Object
-
- eu.simuline.relana.parser.CClassBaseListener
-
- All Implemented Interfaces:
CClassListener
,ParseTreeListener
public class CClassBaseListener extends Object implements CClassListener
This class provides an empty implementation ofCClassListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description CClassBaseListener()
-
Method Summary
-
-
-
Method Detail
-
enterCClass
public void enterCClass(CClassParser.CClassContext ctx)
Enter a parse tree produced byCClassParser.cClass
.The default implementation does nothing.
- Specified by:
enterCClass
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitCClass
public void exitCClass(CClassParser.CClassContext ctx)
Exit a parse tree produced byCClassParser.cClass
.The default implementation does nothing.
- Specified by:
exitCClass
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterGetSuperClass
public void enterGetSuperClass(CClassParser.GetSuperClassContext ctx)
Enter a parse tree produced byCClassParser.getSuperClass()
.The default implementation does nothing.
- Specified by:
enterGetSuperClass
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitGetSuperClass
public void exitGetSuperClass(CClassParser.GetSuperClassContext ctx)
Exit a parse tree produced byCClassParser.getSuperClass()
.The default implementation does nothing.
- Specified by:
exitGetSuperClass
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterGetPath
public void enterGetPath(CClassParser.GetPathContext ctx)
Enter a parse tree produced byCClassParser.getPath()
.The default implementation does nothing.
- Specified by:
enterGetPath
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitGetPath
public void exitGetPath(CClassParser.GetPathContext ctx)
Exit a parse tree produced byCClassParser.getPath()
.The default implementation does nothing.
- Specified by:
exitGetPath
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterMaps
public void enterMaps(CClassParser.MapsContext ctx)
Enter a parse tree produced byCClassParser.maps()
.The default implementation does nothing.
- Specified by:
enterMaps
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitMaps
public void exitMaps(CClassParser.MapsContext ctx)
Exit a parse tree produced byCClassParser.maps()
.The default implementation does nothing.
- Specified by:
exitMaps
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAddMap
public void enterAddMap(CClassParser.AddMapContext ctx)
Enter a parse tree produced byCClassParser.addMap(java.util.Map<java.lang.String, eu.simuline.relana.model.MapDecl>)
.The default implementation does nothing.
- Specified by:
enterAddMap
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAddMap
public void exitAddMap(CClassParser.AddMapContext ctx)
Exit a parse tree produced byCClassParser.addMap(java.util.Map<java.lang.String, eu.simuline.relana.model.MapDecl>)
.The default implementation does nothing.
- Specified by:
exitAddMap
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAdd2DefMap
public void enterAdd2DefMap(CClassParser.Add2DefMapContext ctx)
Enter a parse tree produced byCClassParser.add2DefMap(java.util.Map<java.util.Set<eu.simuline.relana.model.Deficiency>, eu.simuline.relana.model.Deficiency>)
.The default implementation does nothing.
- Specified by:
enterAdd2DefMap
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAdd2DefMap
public void exitAdd2DefMap(CClassParser.Add2DefMapContext ctx)
Exit a parse tree produced byCClassParser.add2DefMap(java.util.Map<java.util.Set<eu.simuline.relana.model.Deficiency>, eu.simuline.relana.model.Deficiency>)
.The default implementation does nothing.
- Specified by:
exitAdd2DefMap
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAddDef
public void enterAddDef(CClassParser.AddDefContext ctx)
Enter a parse tree produced byCClassParser.addDef(java.util.Set<eu.simuline.relana.model.Deficiency>)
.The default implementation does nothing.
- Specified by:
enterAddDef
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAddDef
public void exitAddDef(CClassParser.AddDefContext ctx)
Exit a parse tree produced byCClassParser.addDef(java.util.Set<eu.simuline.relana.model.Deficiency>)
.The default implementation does nothing.
- Specified by:
exitAddDef
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAddToIdDom
public void enterAddToIdDom(CClassParser.AddToIdDomContext ctx)
Enter a parse tree produced byCClassParser.addToIdDom(java.util.Set<eu.simuline.relana.model.Deficiency>)
.The default implementation does nothing.
- Specified by:
enterAddToIdDom
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAddToIdDom
public void exitAddToIdDom(CClassParser.AddToIdDomContext ctx)
Exit a parse tree produced byCClassParser.addToIdDom(java.util.Set<eu.simuline.relana.model.Deficiency>)
.The default implementation does nothing.
- Specified by:
exitAddToIdDom
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterEffects
public void enterEffects(CClassParser.EffectsContext ctx)
Enter a parse tree produced byCClassParser.effects(java.util.Map<java.lang.String, eu.simuline.relana.parser.CClassParser.FormulaWrapper>)
.The default implementation does nothing.
- Specified by:
enterEffects
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitEffects
public void exitEffects(CClassParser.EffectsContext ctx)
Exit a parse tree produced byCClassParser.effects(java.util.Map<java.lang.String, eu.simuline.relana.parser.CClassParser.FormulaWrapper>)
.The default implementation does nothing.
- Specified by:
exitEffects
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterEffect
public void enterEffect(CClassParser.EffectContext ctx)
Enter a parse tree produced byCClassParser.effect(java.util.Map<java.lang.String, eu.simuline.relana.model.CClass.SClassDecl>, java.util.Map<java.lang.String, eu.simuline.relana.parser.CClassParser.FormulaWrapper>)
.The default implementation does nothing.
- Specified by:
enterEffect
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitEffect
public void exitEffect(CClassParser.EffectContext ctx)
Exit a parse tree produced byCClassParser.effect(java.util.Map<java.lang.String, eu.simuline.relana.model.CClass.SClassDecl>, java.util.Map<java.lang.String, eu.simuline.relana.parser.CClassParser.FormulaWrapper>)
.The default implementation does nothing.
- Specified by:
exitEffect
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAddAccessModifier
public void enterAddAccessModifier(CClassParser.AddAccessModifierContext ctx)
Enter a parse tree produced byCClassParser.addAccessModifier(java.util.Set<eu.simuline.relana.model.CClass.SClassModifier>)
.The default implementation does nothing.
- Specified by:
enterAddAccessModifier
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAddAccessModifier
public void exitAddAccessModifier(CClassParser.AddAccessModifierContext ctx)
Exit a parse tree produced byCClassParser.addAccessModifier(java.util.Set<eu.simuline.relana.model.CClass.SClassModifier>)
.The default implementation does nothing.
- Specified by:
exitAddAccessModifier
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterGetDistr
public void enterGetDistr(CClassParser.GetDistrContext ctx)
Enter a parse tree produced byCClassParser.getDistr(eu.simuline.relana.model.SClass)
.The default implementation does nothing.
- Specified by:
enterGetDistr
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitGetDistr
public void exitGetDistr(CClassParser.GetDistrContext ctx)
Exit a parse tree produced byCClassParser.getDistr(eu.simuline.relana.model.SClass)
.The default implementation does nothing.
- Specified by:
exitGetDistr
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterReplDistr
public void enterReplDistr(CClassParser.ReplDistrContext ctx)
Enter a parse tree produced byCClassParser.replDistr(java.util.Map<eu.simuline.relana.model.Deficiency, eu.simuline.relana.model.ProbDistr>, eu.simuline.relana.model.SClass)
.The default implementation does nothing.
- Specified by:
enterReplDistr
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitReplDistr
public void exitReplDistr(CClassParser.ReplDistrContext ctx)
Exit a parse tree produced byCClassParser.replDistr(java.util.Map<eu.simuline.relana.model.Deficiency, eu.simuline.relana.model.ProbDistr>, eu.simuline.relana.model.SClass)
.The default implementation does nothing.
- Specified by:
exitReplDistr
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAddProbAlloc
public void enterAddProbAlloc(CClassParser.AddProbAllocContext ctx)
Enter a parse tree produced byCClassParser.addProbAlloc(java.util.Map<eu.simuline.relana.model.Deficiency, java.math.BigDecimal>)
.The default implementation does nothing.
- Specified by:
enterAddProbAlloc
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAddProbAlloc
public void exitAddProbAlloc(CClassParser.AddProbAllocContext ctx)
Exit a parse tree produced byCClassParser.addProbAlloc(java.util.Map<eu.simuline.relana.model.Deficiency, java.math.BigDecimal>)
.The default implementation does nothing.
- Specified by:
exitAddProbAlloc
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterSkipFormula
public void enterSkipFormula(CClassParser.SkipFormulaContext ctx)
Enter a parse tree produced byCClassParser.skipFormula()
.The default implementation does nothing.
- Specified by:
enterSkipFormula
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitSkipFormula
public void exitSkipFormula(CClassParser.SkipFormulaContext ctx)
Exit a parse tree produced byCClassParser.skipFormula()
.The default implementation does nothing.
- Specified by:
exitSkipFormula
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAppendFormula
public void enterAppendFormula(CClassParser.AppendFormulaContext ctx)
Enter a parse tree produced byCClassParser.appendFormula(java.lang.String, java.lang.StringBuffer)
.The default implementation does nothing.
- Specified by:
enterAppendFormula
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAppendFormula
public void exitAppendFormula(CClassParser.AppendFormulaContext ctx)
Exit a parse tree produced byCClassParser.appendFormula(java.lang.String, java.lang.StringBuffer)
.The default implementation does nothing.
- Specified by:
exitAppendFormula
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAppendToken
public void enterAppendToken(CClassParser.AppendTokenContext ctx)
Enter a parse tree produced byCClassParser.appendToken(java.lang.String, java.lang.StringBuffer, java.lang.String)
.The default implementation does nothing.
- Specified by:
enterAppendToken
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAppendToken
public void exitAppendToken(CClassParser.AppendTokenContext ctx)
Exit a parse tree produced byCClassParser.appendToken(java.lang.String, java.lang.StringBuffer, java.lang.String)
.The default implementation does nothing.
- Specified by:
exitAppendToken
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterAppendOp
public void enterAppendOp(CClassParser.AppendOpContext ctx)
Enter a parse tree produced byCClassParser.appendOp(java.lang.StringBuffer)
.The default implementation does nothing.
- Specified by:
enterAppendOp
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitAppendOp
public void exitAppendOp(CClassParser.AppendOpContext ctx)
Exit a parse tree produced byCClassParser.appendOp(java.lang.StringBuffer)
.The default implementation does nothing.
- Specified by:
exitAppendOp
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterComponents
public void enterComponents(CClassParser.ComponentsContext ctx)
Enter a parse tree produced byCClassParser.components()
.The default implementation does nothing.
- Specified by:
enterComponents
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitComponents
public void exitComponents(CClassParser.ComponentsContext ctx)
Exit a parse tree produced byCClassParser.components()
.The default implementation does nothing.
- Specified by:
exitComponents
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterComponent
public void enterComponent(CClassParser.ComponentContext ctx)
Enter a parse tree produced byCClassParser.component(java.util.Map<java.lang.String, eu.simuline.relana.model.CClassLink>)
.The default implementation does nothing.
- Specified by:
enterComponent
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
exitComponent
public void exitComponent(CClassParser.ComponentContext ctx)
Exit a parse tree produced byCClassParser.component(java.util.Map<java.lang.String, eu.simuline.relana.model.CClassLink>)
.The default implementation does nothing.
- Specified by:
exitComponent
in interfaceCClassListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceParseTreeListener
-
exitEveryRule
public void exitEveryRule(ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceParseTreeListener
-
visitTerminal
public void visitTerminal(TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceParseTreeListener
-
visitErrorNode
public void visitErrorNode(ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceParseTreeListener
-
-