Class smilesBaseListener
This class provides an empty implementation of IsmilesListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Smiles
Assembly: Smiles.dll
Syntax
public class smilesBaseListener : object, IsmilesListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAliphatic_organic(smilesParser.Aliphatic_organicContext)
Enter a parse tree produced by aliphatic_organic().
The default implementation does nothing.
Declaration
public virtual void EnterAliphatic_organic(smilesParser.Aliphatic_organicContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Aliphatic_organicContext | context | The parse tree. |
EnterAromatic_organic(smilesParser.Aromatic_organicContext)
Enter a parse tree produced by aromatic_organic().
The default implementation does nothing.
Declaration
public virtual void EnterAromatic_organic(smilesParser.Aromatic_organicContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Aromatic_organicContext | context | The parse tree. |
EnterAromatic_symbol(smilesParser.Aromatic_symbolContext)
Enter a parse tree produced by aromatic_symbol().
The default implementation does nothing.
Declaration
public virtual void EnterAromatic_symbol(smilesParser.Aromatic_symbolContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Aromatic_symbolContext | context | The parse tree. |
EnterAtom(smilesParser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom(smilesParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.AtomContext | context | The parse tree. |
EnterBond(smilesParser.BondContext)
Enter a parse tree produced by bond().
The default implementation does nothing.
Declaration
public virtual void EnterBond(smilesParser.BondContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.BondContext | context | The parse tree. |
EnterBracket_atom(smilesParser.Bracket_atomContext)
Enter a parse tree produced by bracket_atom().
The default implementation does nothing.
Declaration
public virtual void EnterBracket_atom(smilesParser.Bracket_atomContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Bracket_atomContext | context | The parse tree. |
EnterBranch(smilesParser.BranchContext)
Enter a parse tree produced by branch().
The default implementation does nothing.
Declaration
public virtual void EnterBranch(smilesParser.BranchContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.BranchContext | context | The parse tree. |
EnterBranched_atom(smilesParser.Branched_atomContext)
Enter a parse tree produced by branched_atom().
The default implementation does nothing.
Declaration
public virtual void EnterBranched_atom(smilesParser.Branched_atomContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Branched_atomContext | context | The parse tree. |
EnterChain(smilesParser.ChainContext)
Enter a parse tree produced by chain().
The default implementation does nothing.
Declaration
public virtual void EnterChain(smilesParser.ChainContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.ChainContext | context | The parse tree. |
EnterCharge(smilesParser.ChargeContext)
Enter a parse tree produced by charge().
The default implementation does nothing.
Declaration
public virtual void EnterCharge(smilesParser.ChargeContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.ChargeContext | context | The parse tree. |
EnterChiral(smilesParser.ChiralContext)
Enter a parse tree produced by chiral().
The default implementation does nothing.
Declaration
public virtual void EnterChiral(smilesParser.ChiralContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.ChiralContext | context | The parse tree. |
EnterClass_(smilesParser.Class_Context)
Enter a parse tree produced by class_().
The default implementation does nothing.
Declaration
public virtual void EnterClass_(smilesParser.Class_Context context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Class_Context | context | The parse tree. |
EnterElement_symbols(smilesParser.Element_symbolsContext)
Enter a parse tree produced by element_symbols().
The default implementation does nothing.
Declaration
public virtual void EnterElement_symbols(smilesParser.Element_symbolsContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Element_symbolsContext | 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.
EnterHcount(smilesParser.HcountContext)
Enter a parse tree produced by hcount().
The default implementation does nothing.
Declaration
public virtual void EnterHcount(smilesParser.HcountContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.HcountContext | context | The parse tree. |
EnterIsotope(smilesParser.IsotopeContext)
Enter a parse tree produced by isotope().
The default implementation does nothing.
Declaration
public virtual void EnterIsotope(smilesParser.IsotopeContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.IsotopeContext | context | The parse tree. |
EnterRingbond(smilesParser.RingbondContext)
Enter a parse tree produced by ringbond().
The default implementation does nothing.
Declaration
public virtual void EnterRingbond(smilesParser.RingbondContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.RingbondContext | context | The parse tree. |
EnterSmiles(smilesParser.SmilesContext)
Enter a parse tree produced by smiles().
The default implementation does nothing.
Declaration
public virtual void EnterSmiles(smilesParser.SmilesContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.SmilesContext | context | The parse tree. |
EnterSymbol(smilesParser.SymbolContext)
Enter a parse tree produced by symbol().
The default implementation does nothing.
Declaration
public virtual void EnterSymbol(smilesParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.SymbolContext | context | The parse tree. |
EnterTerminator(smilesParser.TerminatorContext)
Enter a parse tree produced by terminator().
The default implementation does nothing.
Declaration
public virtual void EnterTerminator(smilesParser.TerminatorContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.TerminatorContext | context | The parse tree. |
ExitAliphatic_organic(smilesParser.Aliphatic_organicContext)
Exit a parse tree produced by aliphatic_organic().
The default implementation does nothing.
Declaration
public virtual void ExitAliphatic_organic(smilesParser.Aliphatic_organicContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Aliphatic_organicContext | context | The parse tree. |
ExitAromatic_organic(smilesParser.Aromatic_organicContext)
Exit a parse tree produced by aromatic_organic().
The default implementation does nothing.
Declaration
public virtual void ExitAromatic_organic(smilesParser.Aromatic_organicContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Aromatic_organicContext | context | The parse tree. |
ExitAromatic_symbol(smilesParser.Aromatic_symbolContext)
Exit a parse tree produced by aromatic_symbol().
The default implementation does nothing.
Declaration
public virtual void ExitAromatic_symbol(smilesParser.Aromatic_symbolContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Aromatic_symbolContext | context | The parse tree. |
ExitAtom(smilesParser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom(smilesParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.AtomContext | context | The parse tree. |
ExitBond(smilesParser.BondContext)
Exit a parse tree produced by bond().
The default implementation does nothing.
Declaration
public virtual void ExitBond(smilesParser.BondContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.BondContext | context | The parse tree. |
ExitBracket_atom(smilesParser.Bracket_atomContext)
Exit a parse tree produced by bracket_atom().
The default implementation does nothing.
Declaration
public virtual void ExitBracket_atom(smilesParser.Bracket_atomContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Bracket_atomContext | context | The parse tree. |
ExitBranch(smilesParser.BranchContext)
Exit a parse tree produced by branch().
The default implementation does nothing.
Declaration
public virtual void ExitBranch(smilesParser.BranchContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.BranchContext | context | The parse tree. |
ExitBranched_atom(smilesParser.Branched_atomContext)
Exit a parse tree produced by branched_atom().
The default implementation does nothing.
Declaration
public virtual void ExitBranched_atom(smilesParser.Branched_atomContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Branched_atomContext | context | The parse tree. |
ExitChain(smilesParser.ChainContext)
Exit a parse tree produced by chain().
The default implementation does nothing.
Declaration
public virtual void ExitChain(smilesParser.ChainContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.ChainContext | context | The parse tree. |
ExitCharge(smilesParser.ChargeContext)
Exit a parse tree produced by charge().
The default implementation does nothing.
Declaration
public virtual void ExitCharge(smilesParser.ChargeContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.ChargeContext | context | The parse tree. |
ExitChiral(smilesParser.ChiralContext)
Exit a parse tree produced by chiral().
The default implementation does nothing.
Declaration
public virtual void ExitChiral(smilesParser.ChiralContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.ChiralContext | context | The parse tree. |
ExitClass_(smilesParser.Class_Context)
Exit a parse tree produced by class_().
The default implementation does nothing.
Declaration
public virtual void ExitClass_(smilesParser.Class_Context context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Class_Context | context | The parse tree. |
ExitElement_symbols(smilesParser.Element_symbolsContext)
Exit a parse tree produced by element_symbols().
The default implementation does nothing.
Declaration
public virtual void ExitElement_symbols(smilesParser.Element_symbolsContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.Element_symbolsContext | 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.
ExitHcount(smilesParser.HcountContext)
Exit a parse tree produced by hcount().
The default implementation does nothing.
Declaration
public virtual void ExitHcount(smilesParser.HcountContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.HcountContext | context | The parse tree. |
ExitIsotope(smilesParser.IsotopeContext)
Exit a parse tree produced by isotope().
The default implementation does nothing.
Declaration
public virtual void ExitIsotope(smilesParser.IsotopeContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.IsotopeContext | context | The parse tree. |
ExitRingbond(smilesParser.RingbondContext)
Exit a parse tree produced by ringbond().
The default implementation does nothing.
Declaration
public virtual void ExitRingbond(smilesParser.RingbondContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.RingbondContext | context | The parse tree. |
ExitSmiles(smilesParser.SmilesContext)
Exit a parse tree produced by smiles().
The default implementation does nothing.
Declaration
public virtual void ExitSmiles(smilesParser.SmilesContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.SmilesContext | context | The parse tree. |
ExitSymbol(smilesParser.SymbolContext)
Exit a parse tree produced by symbol().
The default implementation does nothing.
Declaration
public virtual void ExitSymbol(smilesParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.SymbolContext | context | The parse tree. |
ExitTerminator(smilesParser.TerminatorContext)
Exit a parse tree produced by terminator().
The default implementation does nothing.
Declaration
public virtual void ExitTerminator(smilesParser.TerminatorContext context)
Parameters
Type | Name | Description |
---|---|---|
smilesParser.TerminatorContext | 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.