Interface IagcVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by agcParser.
Namespace: GCore.Antlr.Grammers.Agc
Assembly: Agc.dll
Syntax
public interface IagcVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitArgument(agcParser.ArgumentContext)
Visit a parse tree produced by argument().
Declaration
Result VisitArgument(agcParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ArgumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssignment_line(agcParser.Assignment_lineContext)
Visit a parse tree produced by assignment_line().
Declaration
Result VisitAssignment_line(agcParser.Assignment_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Assignment_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAtom(agcParser.AtomContext)
Visit a parse tree produced by atom().
Declaration
Result VisitAtom(agcParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.AtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAxt_opcode(agcParser.Axt_opcodeContext)
Visit a parse tree produced by axt_opcode().
Declaration
Result VisitAxt_opcode(agcParser.Axt_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Axt_opcodeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlank_line(agcParser.Blank_lineContext)
Visit a parse tree produced by blank_line().
Declaration
Result VisitBlank_line(agcParser.Blank_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Blank_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComment(agcParser.CommentContext)
Visit a parse tree produced by comment().
Declaration
Result VisitComment(agcParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.CommentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComment_line(agcParser.Comment_lineContext)
Visit a parse tree produced by comment_line().
Declaration
Result VisitComment_line(agcParser.Comment_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Comment_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDecimal(agcParser.DecimalContext)
Visit a parse tree produced by
Declaration
Result VisitDecimal(agcParser.DecimalContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.DecimalContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEol(agcParser.EolContext)
Visit a parse tree produced by eol().
Declaration
Result VisitEol(agcParser.EolContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.EolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitErase_line(agcParser.Erase_lineContext)
Visit a parse tree produced by erase_line().
Declaration
Result VisitErase_line(agcParser.Erase_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Erase_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(agcParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(agcParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInstruction_line(agcParser.Instruction_lineContext)
Visit a parse tree produced by instruction_line().
Declaration
Result VisitInstruction_line(agcParser.Instruction_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Instruction_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInte(agcParser.InteContext)
Visit a parse tree produced by inte().
Declaration
Result VisitInte(agcParser.InteContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.InteContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLabel(agcParser.LabelContext)
Visit a parse tree produced by label().
Declaration
Result VisitLabel(agcParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.LabelContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLine(agcParser.LineContext)
Visit a parse tree produced by line().
Declaration
Result VisitLine(agcParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.LineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMultiplyingExpression(agcParser.MultiplyingExpressionContext)
Visit a parse tree produced by multiplyingExpression().
Declaration
Result VisitMultiplyingExpression(agcParser.MultiplyingExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.MultiplyingExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOpcode(agcParser.OpcodeContext)
Visit a parse tree produced by opcode().
Declaration
Result VisitOpcode(agcParser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.OpcodeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOpcodes(agcParser.OpcodesContext)
Visit a parse tree produced by opcodes().
Declaration
Result VisitOpcodes(agcParser.OpcodesContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.OpcodesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProg(agcParser.ProgContext)
Visit a parse tree produced by prog().
Declaration
Result VisitProg(agcParser.ProgContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.ProgContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPseudo_opcode(agcParser.Pseudo_opcodeContext)
Visit a parse tree produced by pseudo_opcode().
Declaration
Result VisitPseudo_opcode(agcParser.Pseudo_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Pseudo_opcodeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRegister_(agcParser.Register_Context)
Visit a parse tree produced by register_().
Declaration
Result VisitRegister_(agcParser.Register_Context context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Register_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStandard_opcode(agcParser.Standard_opcodeContext)
Visit a parse tree produced by standard_opcode().
Declaration
Result VisitStandard_opcode(agcParser.Standard_opcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.Standard_opcodeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(agcParser.VariableContext)
Visit a parse tree produced by variable().
Declaration
Result VisitVariable(agcParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWs(agcParser.WsContext)
Visit a parse tree produced by ws().
Declaration
Result VisitWs(agcParser.WsContext context)
Parameters
Type | Name | Description |
---|---|---|
agcParser.WsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |