Interface ImoleculeVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by moleculeParser.
Namespace: GCore.Antlr.Grammers.Molecule
Assembly: Molecule.dll
Syntax
public interface ImoleculeVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitCount(moleculeParser.CountContext)
Visit a parse tree produced by count().
Declaration
Result VisitCount(moleculeParser.CountContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.CountContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElement(moleculeParser.ElementContext)
Visit a parse tree produced by element().
Declaration
Result VisitElement(moleculeParser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.ElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGroup(moleculeParser.GroupContext)
Visit a parse tree produced by group().
Declaration
Result VisitGroup(moleculeParser.GroupContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.GroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIon(moleculeParser.IonContext)
Visit a parse tree produced by ion().
Declaration
Result VisitIon(moleculeParser.IonContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.IonContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMolecule(moleculeParser.MoleculeContext)
Visit a parse tree produced by molecule().
Declaration
Result VisitMolecule(moleculeParser.MoleculeContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.MoleculeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPart_(moleculeParser.Part_Context)
Visit a parse tree produced by part_().
Declaration
Result VisitPart_(moleculeParser.Part_Context context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.Part_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStructure(moleculeParser.StructureContext)
Visit a parse tree produced by structure().
Declaration
Result VisitStructure(moleculeParser.StructureContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.StructureContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSymbol(moleculeParser.SymbolContext)
Visit a parse tree produced by symbol().
Declaration
Result VisitSymbol(moleculeParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
moleculeParser.SymbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |