Class lccBaseListener
This class provides an empty implementation of IlccListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Lcc
Assembly: Lcc.dll
Syntax
public class lccBaseListener : object, IlccListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterCutter(lccParser.CutterContext)
Enter a parse tree produced by cutter().
The default implementation does nothing.
Declaration
public virtual void EnterCutter(lccParser.CutterContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.CutterContext | context | The parse tree. |
EnterCutters(lccParser.CuttersContext)
Enter a parse tree produced by cutters().
The default implementation does nothing.
Declaration
public virtual void EnterCutters(lccParser.CuttersContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.CuttersContext | context | The parse tree. |
EnterDate(lccParser.DateContext)
Enter a parse tree produced by date().
The default implementation does nothing.
Declaration
public virtual void EnterDate(lccParser.DateContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.DateContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterLcc(lccParser.LccContext)
Enter a parse tree produced by lcc().
The default implementation does nothing.
Declaration
public virtual void EnterLcc(lccParser.LccContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.LccContext | context | The parse tree. |
EnterSubclass(lccParser.SubclassContext)
Enter a parse tree produced by subclass().
The default implementation does nothing.
Declaration
public virtual void EnterSubclass(lccParser.SubclassContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.SubclassContext | context | The parse tree. |
EnterSubclasses(lccParser.SubclassesContext)
Enter a parse tree produced by subclasses().
The default implementation does nothing.
Declaration
public virtual void EnterSubclasses(lccParser.SubclassesContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.SubclassesContext | context | The parse tree. |
EnterSubtopic(lccParser.SubtopicContext)
Enter a parse tree produced by subtopic().
The default implementation does nothing.
Declaration
public virtual void EnterSubtopic(lccParser.SubtopicContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.SubtopicContext | context | The parse tree. |
EnterTopic(lccParser.TopicContext)
Enter a parse tree produced by topic().
The default implementation does nothing.
Declaration
public virtual void EnterTopic(lccParser.TopicContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.TopicContext | context | The parse tree. |
ExitCutter(lccParser.CutterContext)
Exit a parse tree produced by cutter().
The default implementation does nothing.
Declaration
public virtual void ExitCutter(lccParser.CutterContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.CutterContext | context | The parse tree. |
ExitCutters(lccParser.CuttersContext)
Exit a parse tree produced by cutters().
The default implementation does nothing.
Declaration
public virtual void ExitCutters(lccParser.CuttersContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.CuttersContext | context | The parse tree. |
ExitDate(lccParser.DateContext)
Exit a parse tree produced by date().
The default implementation does nothing.
Declaration
public virtual void ExitDate(lccParser.DateContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.DateContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitLcc(lccParser.LccContext)
Exit a parse tree produced by lcc().
The default implementation does nothing.
Declaration
public virtual void ExitLcc(lccParser.LccContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.LccContext | context | The parse tree. |
ExitSubclass(lccParser.SubclassContext)
Exit a parse tree produced by subclass().
The default implementation does nothing.
Declaration
public virtual void ExitSubclass(lccParser.SubclassContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.SubclassContext | context | The parse tree. |
ExitSubclasses(lccParser.SubclassesContext)
Exit a parse tree produced by subclasses().
The default implementation does nothing.
Declaration
public virtual void ExitSubclasses(lccParser.SubclassesContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.SubclassesContext | context | The parse tree. |
ExitSubtopic(lccParser.SubtopicContext)
Exit a parse tree produced by subtopic().
The default implementation does nothing.
Declaration
public virtual void ExitSubtopic(lccParser.SubtopicContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.SubtopicContext | context | The parse tree. |
ExitTopic(lccParser.TopicContext)
Exit a parse tree produced by topic().
The default implementation does nothing.
Declaration
public virtual void ExitTopic(lccParser.TopicContext context)
Parameters
Type | Name | Description |
---|---|---|
lccParser.TopicContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.