Class stellarisBaseListener
This class provides an empty implementation of IstellarisListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Stellaris
Assembly: Stellaris.dll
Syntax
public class stellarisBaseListener : object, IstellarisListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAccessor(stellarisParser.AccessorContext)
Enter a parse tree produced by accessor().
The default implementation does nothing.
Declaration
public virtual void EnterAccessor(stellarisParser.AccessorContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.AccessorContext | context | The parse tree. |
EnterAttrib(stellarisParser.AttribContext)
Enter a parse tree produced by attrib().
The default implementation does nothing.
Declaration
public virtual void EnterAttrib(stellarisParser.AttribContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.AttribContext | context | The parse tree. |
EnterContent(stellarisParser.ContentContext)
Enter a parse tree produced by content().
The default implementation does nothing.
Declaration
public virtual void EnterContent(stellarisParser.ContentContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.ContentContext | 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.
EnterExpr(stellarisParser.ExprContext)
Enter a parse tree produced by expr().
The default implementation does nothing.
Declaration
public virtual void EnterExpr(stellarisParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.ExprContext | context | The parse tree. |
EnterGroup(stellarisParser.GroupContext)
Enter a parse tree produced by group().
The default implementation does nothing.
Declaration
public virtual void EnterGroup(stellarisParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.GroupContext | context | The parse tree. |
EnterId_(stellarisParser.Id_Context)
Enter a parse tree produced by id_().
The default implementation does nothing.
Declaration
public virtual void EnterId_(stellarisParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.Id_Context | context | The parse tree. |
EnterKey(stellarisParser.KeyContext)
Enter a parse tree produced by key().
The default implementation does nothing.
Declaration
public virtual void EnterKey(stellarisParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.KeyContext | context | The parse tree. |
EnterKeyval(stellarisParser.KeyvalContext)
Enter a parse tree produced by keyval().
The default implementation does nothing.
Declaration
public virtual void EnterKeyval(stellarisParser.KeyvalContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.KeyvalContext | context | The parse tree. |
EnterVal(stellarisParser.ValContext)
Enter a parse tree produced by val().
The default implementation does nothing.
Declaration
public virtual void EnterVal(stellarisParser.ValContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.ValContext | context | The parse tree. |
ExitAccessor(stellarisParser.AccessorContext)
Exit a parse tree produced by accessor().
The default implementation does nothing.
Declaration
public virtual void ExitAccessor(stellarisParser.AccessorContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.AccessorContext | context | The parse tree. |
ExitAttrib(stellarisParser.AttribContext)
Exit a parse tree produced by attrib().
The default implementation does nothing.
Declaration
public virtual void ExitAttrib(stellarisParser.AttribContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.AttribContext | context | The parse tree. |
ExitContent(stellarisParser.ContentContext)
Exit a parse tree produced by content().
The default implementation does nothing.
Declaration
public virtual void ExitContent(stellarisParser.ContentContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.ContentContext | 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.
ExitExpr(stellarisParser.ExprContext)
Exit a parse tree produced by expr().
The default implementation does nothing.
Declaration
public virtual void ExitExpr(stellarisParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.ExprContext | context | The parse tree. |
ExitGroup(stellarisParser.GroupContext)
Exit a parse tree produced by group().
The default implementation does nothing.
Declaration
public virtual void ExitGroup(stellarisParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.GroupContext | context | The parse tree. |
ExitId_(stellarisParser.Id_Context)
Exit a parse tree produced by id_().
The default implementation does nothing.
Declaration
public virtual void ExitId_(stellarisParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.Id_Context | context | The parse tree. |
ExitKey(stellarisParser.KeyContext)
Exit a parse tree produced by key().
The default implementation does nothing.
Declaration
public virtual void ExitKey(stellarisParser.KeyContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.KeyContext | context | The parse tree. |
ExitKeyval(stellarisParser.KeyvalContext)
Exit a parse tree produced by keyval().
The default implementation does nothing.
Declaration
public virtual void ExitKeyval(stellarisParser.KeyvalContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.KeyvalContext | context | The parse tree. |
ExitVal(stellarisParser.ValContext)
Exit a parse tree produced by val().
The default implementation does nothing.
Declaration
public virtual void ExitVal(stellarisParser.ValContext context)
Parameters
Type | Name | Description |
---|---|---|
stellarisParser.ValContext | 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.