Show / Hide Table of Contents

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
System.Object
stellarisBaseListener
Implements
IstellarisListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Stellaris
Assembly: Stellaris.dll
Syntax
public class stellarisBaseListener : object, IstellarisListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAccessor(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IstellarisListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX