Extended Berkeley Packet Filter (eBPF) assembler and virtual machine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

195 lines
9.5 KiB

// Code generated from internal/parser/Assembler.g4 by ANTLR 4.7.2. DO NOT EDIT.
package parser // Assembler
import "github.com/antlr/antlr4/runtime/Go/antlr"
// BaseAssemblerListener is a complete listener for a parse tree produced by AssemblerParser.
type BaseAssemblerListener struct{}
var _ AssemblerListener = &BaseAssemblerListener{}
// VisitTerminal is called when a terminal node is visited.
func (s *BaseAssemblerListener) VisitTerminal(node antlr.TerminalNode) {}
// VisitErrorNode is called when an error node is visited.
func (s *BaseAssemblerListener) VisitErrorNode(node antlr.ErrorNode) {}
// EnterEveryRule is called when any rule is entered.
func (s *BaseAssemblerListener) EnterEveryRule(ctx antlr.ParserRuleContext) {}
// ExitEveryRule is called when any rule is exited.
func (s *BaseAssemblerListener) ExitEveryRule(ctx antlr.ParserRuleContext) {}
// EnterProgram is called when production program is entered.
func (s *BaseAssemblerListener) EnterProgram(ctx *ProgramContext) {}
// ExitProgram is called when production program is exited.
func (s *BaseAssemblerListener) ExitProgram(ctx *ProgramContext) {}
// EnterLabelDefinition is called when production labelDefinition is entered.
func (s *BaseAssemblerListener) EnterLabelDefinition(ctx *LabelDefinitionContext) {}
// ExitLabelDefinition is called when production labelDefinition is exited.
func (s *BaseAssemblerListener) ExitLabelDefinition(ctx *LabelDefinitionContext) {}
// EnterLabel is called when production label is entered.
func (s *BaseAssemblerListener) EnterLabel(ctx *LabelContext) {}
// ExitLabel is called when production label is exited.
func (s *BaseAssemblerListener) ExitLabel(ctx *LabelContext) {}
// EnterComment is called when production comment is entered.
func (s *BaseAssemblerListener) EnterComment(ctx *CommentContext) {}
// ExitComment is called when production comment is exited.
func (s *BaseAssemblerListener) ExitComment(ctx *CommentContext) {}
// EnterInstruction is called when production instruction is entered.
func (s *BaseAssemblerListener) EnterInstruction(ctx *InstructionContext) {}
// ExitInstruction is called when production instruction is exited.
func (s *BaseAssemblerListener) ExitInstruction(ctx *InstructionContext) {}
// EnterAlu64Operation is called when production alu64Operation is entered.
func (s *BaseAssemblerListener) EnterAlu64Operation(ctx *Alu64OperationContext) {}
// ExitAlu64Operation is called when production alu64Operation is exited.
func (s *BaseAssemblerListener) ExitAlu64Operation(ctx *Alu64OperationContext) {}
// EnterAlu64Operator is called when production alu64Operator is entered.
func (s *BaseAssemblerListener) EnterAlu64Operator(ctx *Alu64OperatorContext) {}
// ExitAlu64Operator is called when production alu64Operator is exited.
func (s *BaseAssemblerListener) ExitAlu64Operator(ctx *Alu64OperatorContext) {}
// EnterAluOperation is called when production aluOperation is entered.
func (s *BaseAssemblerListener) EnterAluOperation(ctx *AluOperationContext) {}
// ExitAluOperation is called when production aluOperation is exited.
func (s *BaseAssemblerListener) ExitAluOperation(ctx *AluOperationContext) {}
// EnterAluOperator is called when production aluOperator is entered.
func (s *BaseAssemblerListener) EnterAluOperator(ctx *AluOperatorContext) {}
// ExitAluOperator is called when production aluOperator is exited.
func (s *BaseAssemblerListener) ExitAluOperator(ctx *AluOperatorContext) {}
// EnterByteSwapOperation is called when production byteSwapOperation is entered.
func (s *BaseAssemblerListener) EnterByteSwapOperation(ctx *ByteSwapOperationContext) {}
// ExitByteSwapOperation is called when production byteSwapOperation is exited.
func (s *BaseAssemblerListener) ExitByteSwapOperation(ctx *ByteSwapOperationContext) {}
// EnterByteSwapOperator is called when production byteSwapOperator is entered.
func (s *BaseAssemblerListener) EnterByteSwapOperator(ctx *ByteSwapOperatorContext) {}
// ExitByteSwapOperator is called when production byteSwapOperator is exited.
func (s *BaseAssemblerListener) ExitByteSwapOperator(ctx *ByteSwapOperatorContext) {}
// EnterJumpOperation is called when production jumpOperation is entered.
func (s *BaseAssemblerListener) EnterJumpOperation(ctx *JumpOperationContext) {}
// ExitJumpOperation is called when production jumpOperation is exited.
func (s *BaseAssemblerListener) ExitJumpOperation(ctx *JumpOperationContext) {}
// EnterJumpOperator is called when production jumpOperator is entered.
func (s *BaseAssemblerListener) EnterJumpOperator(ctx *JumpOperatorContext) {}
// ExitJumpOperator is called when production jumpOperator is exited.
func (s *BaseAssemblerListener) ExitJumpOperator(ctx *JumpOperatorContext) {}
// EnterJumpConditionalOperation is called when production jumpConditionalOperation is entered.
func (s *BaseAssemblerListener) EnterJumpConditionalOperation(ctx *JumpConditionalOperationContext) {}
// ExitJumpConditionalOperation is called when production jumpConditionalOperation is exited.
func (s *BaseAssemblerListener) ExitJumpConditionalOperation(ctx *JumpConditionalOperationContext) {}
// EnterJumpConditionalOperator is called when production jumpConditionalOperator is entered.
func (s *BaseAssemblerListener) EnterJumpConditionalOperator(ctx *JumpConditionalOperatorContext) {}
// ExitJumpConditionalOperator is called when production jumpConditionalOperator is exited.
func (s *BaseAssemblerListener) ExitJumpConditionalOperator(ctx *JumpConditionalOperatorContext) {}
// EnterCallOperation is called when production callOperation is entered.
func (s *BaseAssemblerListener) EnterCallOperation(ctx *CallOperationContext) {}
// ExitCallOperation is called when production callOperation is exited.
func (s *BaseAssemblerListener) ExitCallOperation(ctx *CallOperationContext) {}
// EnterExitOperation is called when production exitOperation is entered.
func (s *BaseAssemblerListener) EnterExitOperation(ctx *ExitOperationContext) {}
// ExitExitOperation is called when production exitOperation is exited.
func (s *BaseAssemblerListener) ExitExitOperation(ctx *ExitOperationContext) {}
// EnterLoadOperation is called when production loadOperation is entered.
func (s *BaseAssemblerListener) EnterLoadOperation(ctx *LoadOperationContext) {}
// ExitLoadOperation is called when production loadOperation is exited.
func (s *BaseAssemblerListener) ExitLoadOperation(ctx *LoadOperationContext) {}
// EnterLoadAbsoluteOperator is called when production loadAbsoluteOperator is entered.
func (s *BaseAssemblerListener) EnterLoadAbsoluteOperator(ctx *LoadAbsoluteOperatorContext) {}
// ExitLoadAbsoluteOperator is called when production loadAbsoluteOperator is exited.
func (s *BaseAssemblerListener) ExitLoadAbsoluteOperator(ctx *LoadAbsoluteOperatorContext) {}
// EnterLoadOperator is called when production loadOperator is entered.
func (s *BaseAssemblerListener) EnterLoadOperator(ctx *LoadOperatorContext) {}
// ExitLoadOperator is called when production loadOperator is exited.
func (s *BaseAssemblerListener) ExitLoadOperator(ctx *LoadOperatorContext) {}
// EnterStoreOperation is called when production storeOperation is entered.
func (s *BaseAssemblerListener) EnterStoreOperation(ctx *StoreOperationContext) {}
// ExitStoreOperation is called when production storeOperation is exited.
func (s *BaseAssemblerListener) ExitStoreOperation(ctx *StoreOperationContext) {}
// EnterStoreOperator is called when production storeOperator is entered.
func (s *BaseAssemblerListener) EnterStoreOperator(ctx *StoreOperatorContext) {}
// ExitStoreOperator is called when production storeOperator is exited.
func (s *BaseAssemblerListener) ExitStoreOperator(ctx *StoreOperatorContext) {}
// EnterStoreXOperator is called when production storeXOperator is entered.
func (s *BaseAssemblerListener) EnterStoreXOperator(ctx *StoreXOperatorContext) {}
// ExitStoreXOperator is called when production storeXOperator is exited.
func (s *BaseAssemblerListener) ExitStoreXOperator(ctx *StoreXOperatorContext) {}
// EnterNumber is called when production number is entered.
func (s *BaseAssemblerListener) EnterNumber(ctx *NumberContext) {}
// ExitNumber is called when production number is exited.
func (s *BaseAssemblerListener) ExitNumber(ctx *NumberContext) {}
// EnterLiteralNumber is called when production literalNumber is entered.
func (s *BaseAssemblerListener) EnterLiteralNumber(ctx *LiteralNumberContext) {}
// ExitLiteralNumber is called when production literalNumber is exited.
func (s *BaseAssemblerListener) ExitLiteralNumber(ctx *LiteralNumberContext) {}
// EnterOffset is called when production offset is entered.
func (s *BaseAssemblerListener) EnterOffset(ctx *OffsetContext) {}
// ExitOffset is called when production offset is exited.
func (s *BaseAssemblerListener) ExitOffset(ctx *OffsetContext) {}
// EnterImmediate is called when production immediate is entered.
func (s *BaseAssemblerListener) EnterImmediate(ctx *ImmediateContext) {}
// ExitImmediate is called when production immediate is exited.
func (s *BaseAssemblerListener) ExitImmediate(ctx *ImmediateContext) {}
// EnterRegister is called when production register is entered.
func (s *BaseAssemblerListener) EnterRegister(ctx *RegisterContext) {}
// ExitRegister is called when production register is exited.
func (s *BaseAssemblerListener) ExitRegister(ctx *RegisterContext) {}
// EnterExtension is called when production extension is entered.
func (s *BaseAssemblerListener) EnterExtension(ctx *ExtensionContext) {}
// ExitExtension is called when production extension is exited.
func (s *BaseAssemblerListener) ExitExtension(ctx *ExtensionContext) {}