Class propcalcBaseVisitor<Result>
This class provides an empty implementation of IpropcalcVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Propcalc
Assembly: Propcalc.dll
Syntax
public class propcalcBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IpropcalcVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAtom(propcalcParser.AtomContext)
Visit a parse tree produced by atom().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAtom(propcalcParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.AtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAtoms(propcalcParser.AtomsContext)
Visit a parse tree produced by atoms().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAtoms(propcalcParser.AtomsContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.AtomsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEquiv(propcalcParser.EquivContext)
Visit a parse tree produced by equiv().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEquiv(propcalcParser.EquivContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.EquivContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(propcalcParser.ExpressionContext)
Visit a parse tree produced by expression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExpression(propcalcParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImplies(propcalcParser.ImpliesContext)
Visit a parse tree produced by implies().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitImplies(propcalcParser.ImpliesContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.ImpliesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProposition(propcalcParser.PropositionContext)
Visit a parse tree produced by proposition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProposition(propcalcParser.PropositionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.PropositionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRelExpression(propcalcParser.RelExpressionContext)
Visit a parse tree produced by relExpression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRelExpression(propcalcParser.RelExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.RelExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(propcalcParser.VariableContext)
Visit a parse tree produced by variable().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariable(propcalcParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
propcalcParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |