Class sexpressionBaseListener
This class provides an empty implementation of IsexpressionListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Sexpression
Assembly: Sexpression.dll
Syntax
public class sexpressionBaseListener : object, IsexpressionListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAtom(sexpressionParser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom(sexpressionParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.AtomContext | 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.
EnterItem(sexpressionParser.ItemContext)
Enter a parse tree produced by item().
The default implementation does nothing.
Declaration
public virtual void EnterItem(sexpressionParser.ItemContext context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.ItemContext | context | The parse tree. |
EnterList_(sexpressionParser.List_Context)
Enter a parse tree produced by list_().
The default implementation does nothing.
Declaration
public virtual void EnterList_(sexpressionParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.List_Context | context | The parse tree. |
EnterSexpr(sexpressionParser.SexprContext)
Enter a parse tree produced by sexpr().
The default implementation does nothing.
Declaration
public virtual void EnterSexpr(sexpressionParser.SexprContext context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.SexprContext | context | The parse tree. |
ExitAtom(sexpressionParser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom(sexpressionParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.AtomContext | 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.
ExitItem(sexpressionParser.ItemContext)
Exit a parse tree produced by item().
The default implementation does nothing.
Declaration
public virtual void ExitItem(sexpressionParser.ItemContext context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.ItemContext | context | The parse tree. |
ExitList_(sexpressionParser.List_Context)
Exit a parse tree produced by list_().
The default implementation does nothing.
Declaration
public virtual void ExitList_(sexpressionParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.List_Context | context | The parse tree. |
ExitSexpr(sexpressionParser.SexprContext)
Exit a parse tree produced by sexpr().
The default implementation does nothing.
Declaration
public virtual void ExitSexpr(sexpressionParser.SexprContext context)
Parameters
Type | Name | Description |
---|---|---|
sexpressionParser.SexprContext | 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.