Show / Hide Table of Contents

Class moleculeBaseListener

This class provides an empty implementation of ImoleculeListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
moleculeBaseListener
Implements
ImoleculeListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Molecule
Assembly: Molecule.dll
Syntax
public class moleculeBaseListener : object, ImoleculeListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterCount(moleculeParser.CountContext)

Enter a parse tree produced by count().

The default implementation does nothing.

Declaration
public virtual void EnterCount(moleculeParser.CountContext context)
Parameters
Type Name Description
moleculeParser.CountContext context

The parse tree.

| Improve this Doc View Source

EnterElement(moleculeParser.ElementContext)

Enter a parse tree produced by element().

The default implementation does nothing.

Declaration
public virtual void EnterElement(moleculeParser.ElementContext context)
Parameters
Type Name Description
moleculeParser.ElementContext 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

EnterGroup(moleculeParser.GroupContext)

Enter a parse tree produced by group().

The default implementation does nothing.

Declaration
public virtual void EnterGroup(moleculeParser.GroupContext context)
Parameters
Type Name Description
moleculeParser.GroupContext context

The parse tree.

| Improve this Doc View Source

EnterIon(moleculeParser.IonContext)

Enter a parse tree produced by ion().

The default implementation does nothing.

Declaration
public virtual void EnterIon(moleculeParser.IonContext context)
Parameters
Type Name Description
moleculeParser.IonContext context

The parse tree.

| Improve this Doc View Source

EnterMolecule(moleculeParser.MoleculeContext)

Enter a parse tree produced by molecule().

The default implementation does nothing.

Declaration
public virtual void EnterMolecule(moleculeParser.MoleculeContext context)
Parameters
Type Name Description
moleculeParser.MoleculeContext context

The parse tree.

| Improve this Doc View Source

EnterPart_(moleculeParser.Part_Context)

Enter a parse tree produced by part_().

The default implementation does nothing.

Declaration
public virtual void EnterPart_(moleculeParser.Part_Context context)
Parameters
Type Name Description
moleculeParser.Part_Context context

The parse tree.

| Improve this Doc View Source

EnterStructure(moleculeParser.StructureContext)

Enter a parse tree produced by structure().

The default implementation does nothing.

Declaration
public virtual void EnterStructure(moleculeParser.StructureContext context)
Parameters
Type Name Description
moleculeParser.StructureContext context

The parse tree.

| Improve this Doc View Source

EnterSymbol(moleculeParser.SymbolContext)

Enter a parse tree produced by symbol().

The default implementation does nothing.

Declaration
public virtual void EnterSymbol(moleculeParser.SymbolContext context)
Parameters
Type Name Description
moleculeParser.SymbolContext context

The parse tree.

| Improve this Doc View Source

ExitCount(moleculeParser.CountContext)

Exit a parse tree produced by count().

The default implementation does nothing.

Declaration
public virtual void ExitCount(moleculeParser.CountContext context)
Parameters
Type Name Description
moleculeParser.CountContext context

The parse tree.

| Improve this Doc View Source

ExitElement(moleculeParser.ElementContext)

Exit a parse tree produced by element().

The default implementation does nothing.

Declaration
public virtual void ExitElement(moleculeParser.ElementContext context)
Parameters
Type Name Description
moleculeParser.ElementContext 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

ExitGroup(moleculeParser.GroupContext)

Exit a parse tree produced by group().

The default implementation does nothing.

Declaration
public virtual void ExitGroup(moleculeParser.GroupContext context)
Parameters
Type Name Description
moleculeParser.GroupContext context

The parse tree.

| Improve this Doc View Source

ExitIon(moleculeParser.IonContext)

Exit a parse tree produced by ion().

The default implementation does nothing.

Declaration
public virtual void ExitIon(moleculeParser.IonContext context)
Parameters
Type Name Description
moleculeParser.IonContext context

The parse tree.

| Improve this Doc View Source

ExitMolecule(moleculeParser.MoleculeContext)

Exit a parse tree produced by molecule().

The default implementation does nothing.

Declaration
public virtual void ExitMolecule(moleculeParser.MoleculeContext context)
Parameters
Type Name Description
moleculeParser.MoleculeContext context

The parse tree.

| Improve this Doc View Source

ExitPart_(moleculeParser.Part_Context)

Exit a parse tree produced by part_().

The default implementation does nothing.

Declaration
public virtual void ExitPart_(moleculeParser.Part_Context context)
Parameters
Type Name Description
moleculeParser.Part_Context context

The parse tree.

| Improve this Doc View Source

ExitStructure(moleculeParser.StructureContext)

Exit a parse tree produced by structure().

The default implementation does nothing.

Declaration
public virtual void ExitStructure(moleculeParser.StructureContext context)
Parameters
Type Name Description
moleculeParser.StructureContext context

The parse tree.

| Improve this Doc View Source

ExitSymbol(moleculeParser.SymbolContext)

Exit a parse tree produced by symbol().

The default implementation does nothing.

Declaration
public virtual void ExitSymbol(moleculeParser.SymbolContext context)
Parameters
Type Name Description
moleculeParser.SymbolContext 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

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