Documentation ¶
Index ¶
- Variables
- func InitEmptyAliasDeclarationStatementContext(p *AliasDeclarationStatementContext)
- func InitEmptyAliasExpressionContext(p *AliasExpressionContext)
- func InitEmptyAnnotationContext(p *AnnotationContext)
- func InitEmptyArgumentDefinitionContext(p *ArgumentDefinitionContext)
- func InitEmptyArgumentDefinitionListContext(p *ArgumentDefinitionListContext)
- func InitEmptyArrayLiteralContext(p *ArrayLiteralContext)
- func InitEmptyArrayReferenceTypeContext(p *ArrayReferenceTypeContext)
- func InitEmptyArrayTypeContext(p *ArrayTypeContext)
- func InitEmptyAssignmentStatementContext(p *AssignmentStatementContext)
- func InitEmptyBarrierStatementContext(p *BarrierStatementContext)
- func InitEmptyBoxStatementContext(p *BoxStatementContext)
- func InitEmptyBreakStatementContext(p *BreakStatementContext)
- func InitEmptyCalStatementContext(p *CalStatementContext)
- func InitEmptyCalibrationGrammarStatementContext(p *CalibrationGrammarStatementContext)
- func InitEmptyClassicalDeclarationStatementContext(p *ClassicalDeclarationStatementContext)
- func InitEmptyConstDeclarationStatementContext(p *ConstDeclarationStatementContext)
- func InitEmptyContinueStatementContext(p *ContinueStatementContext)
- func InitEmptyDeclarationExpressionContext(p *DeclarationExpressionContext)
- func InitEmptyDefStatementContext(p *DefStatementContext)
- func InitEmptyDefcalArgumentDefinitionContext(p *DefcalArgumentDefinitionContext)
- func InitEmptyDefcalArgumentDefinitionListContext(p *DefcalArgumentDefinitionListContext)
- func InitEmptyDefcalOperandContext(p *DefcalOperandContext)
- func InitEmptyDefcalOperandListContext(p *DefcalOperandListContext)
- func InitEmptyDefcalStatementContext(p *DefcalStatementContext)
- func InitEmptyDefcalTargetContext(p *DefcalTargetContext)
- func InitEmptyDelayStatementContext(p *DelayStatementContext)
- func InitEmptyDesignatorContext(p *DesignatorContext)
- func InitEmptyEndStatementContext(p *EndStatementContext)
- func InitEmptyExpressionContext(p *ExpressionContext)
- func InitEmptyExpressionListContext(p *ExpressionListContext)
- func InitEmptyExpressionStatementContext(p *ExpressionStatementContext)
- func InitEmptyExternArgumentContext(p *ExternArgumentContext)
- func InitEmptyExternArgumentListContext(p *ExternArgumentListContext)
- func InitEmptyExternStatementContext(p *ExternStatementContext)
- func InitEmptyForStatementContext(p *ForStatementContext)
- func InitEmptyGateCallStatementContext(p *GateCallStatementContext)
- func InitEmptyGateModifierContext(p *GateModifierContext)
- func InitEmptyGateOperandContext(p *GateOperandContext)
- func InitEmptyGateOperandListContext(p *GateOperandListContext)
- func InitEmptyGateStatementContext(p *GateStatementContext)
- func InitEmptyIdentifierListContext(p *IdentifierListContext)
- func InitEmptyIfStatementContext(p *IfStatementContext)
- func InitEmptyIncludeStatementContext(p *IncludeStatementContext)
- func InitEmptyIndexOperatorContext(p *IndexOperatorContext)
- func InitEmptyIndexedIdentifierContext(p *IndexedIdentifierContext)
- func InitEmptyIoDeclarationStatementContext(p *IoDeclarationStatementContext)
- func InitEmptyMeasureArrowAssignmentStatementContext(p *MeasureArrowAssignmentStatementContext)
- func InitEmptyMeasureExpressionContext(p *MeasureExpressionContext)
- func InitEmptyOldStyleDeclarationStatementContext(p *OldStyleDeclarationStatementContext)
- func InitEmptyPragmaContext(p *PragmaContext)
- func InitEmptyProgramContext(p *ProgramContext)
- func InitEmptyQuantumDeclarationStatementContext(p *QuantumDeclarationStatementContext)
- func InitEmptyQubitTypeContext(p *QubitTypeContext)
- func InitEmptyRangeExpressionContext(p *RangeExpressionContext)
- func InitEmptyResetStatementContext(p *ResetStatementContext)
- func InitEmptyReturnSignatureContext(p *ReturnSignatureContext)
- func InitEmptyReturnStatementContext(p *ReturnStatementContext)
- func InitEmptyScalarTypeContext(p *ScalarTypeContext)
- func InitEmptyScopeContext(p *ScopeContext)
- func InitEmptySetExpressionContext(p *SetExpressionContext)
- func InitEmptyStatementContext(p *StatementContext)
- func InitEmptyStatementOrScopeContext(p *StatementOrScopeContext)
- func InitEmptySwitchCaseItemContext(p *SwitchCaseItemContext)
- func InitEmptySwitchStatementContext(p *SwitchStatementContext)
- func InitEmptyVersionContext(p *VersionContext)
- func InitEmptyWhileStatementContext(p *WhileStatementContext)
- func Newqasm3Lexer(input antlr.CharStream) *qasm3Lexer
- func Newqasm3Parser(input antlr.TokenStream) *qasm3Parser
- func Qasm3LexerInit()
- func Qasm3ParserInit()
- type AdditiveExpressionContext
- func (s *AdditiveExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AdditiveExpressionContext) AllExpression() []IExpressionContext
- func (s *AdditiveExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AdditiveExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AdditiveExpressionContext) Expression(i int) IExpressionContext
- func (s *AdditiveExpressionContext) GetOp() antlr.Token
- func (s *AdditiveExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *AdditiveExpressionContext) MINUS() antlr.TerminalNode
- func (s *AdditiveExpressionContext) PLUS() antlr.TerminalNode
- func (s *AdditiveExpressionContext) SetOp(v antlr.Token)
- type AliasDeclarationStatementContext
- func (s *AliasDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AliasDeclarationStatementContext) AliasExpression() IAliasExpressionContext
- func (s *AliasDeclarationStatementContext) EQUALS() antlr.TerminalNode
- func (s *AliasDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AliasDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AliasDeclarationStatementContext) GetParser() antlr.Parser
- func (s *AliasDeclarationStatementContext) GetRuleContext() antlr.RuleContext
- func (s *AliasDeclarationStatementContext) Identifier() antlr.TerminalNode
- func (*AliasDeclarationStatementContext) IsAliasDeclarationStatementContext()
- func (s *AliasDeclarationStatementContext) LET() antlr.TerminalNode
- func (s *AliasDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *AliasDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AliasExpressionContext
- func (s *AliasExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AliasExpressionContext) AllDOUBLE_PLUS() []antlr.TerminalNode
- func (s *AliasExpressionContext) AllExpression() []IExpressionContext
- func (s *AliasExpressionContext) DOUBLE_PLUS(i int) antlr.TerminalNode
- func (s *AliasExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AliasExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AliasExpressionContext) Expression(i int) IExpressionContext
- func (s *AliasExpressionContext) GetParser() antlr.Parser
- func (s *AliasExpressionContext) GetRuleContext() antlr.RuleContext
- func (*AliasExpressionContext) IsAliasExpressionContext()
- func (s *AliasExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AnnotationContext
- func (s *AnnotationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AnnotationContext) AnnotationKeyword() antlr.TerminalNode
- func (s *AnnotationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AnnotationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AnnotationContext) GetParser() antlr.Parser
- func (s *AnnotationContext) GetRuleContext() antlr.RuleContext
- func (*AnnotationContext) IsAnnotationContext()
- func (s *AnnotationContext) RemainingLineContent() antlr.TerminalNode
- func (s *AnnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgumentDefinitionContext
- func (s *ArgumentDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgumentDefinitionContext) ArrayReferenceType() IArrayReferenceTypeContext
- func (s *ArgumentDefinitionContext) CREG() antlr.TerminalNode
- func (s *ArgumentDefinitionContext) Designator() IDesignatorContext
- func (s *ArgumentDefinitionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgumentDefinitionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgumentDefinitionContext) GetParser() antlr.Parser
- func (s *ArgumentDefinitionContext) GetRuleContext() antlr.RuleContext
- func (s *ArgumentDefinitionContext) Identifier() antlr.TerminalNode
- func (*ArgumentDefinitionContext) IsArgumentDefinitionContext()
- func (s *ArgumentDefinitionContext) QREG() antlr.TerminalNode
- func (s *ArgumentDefinitionContext) QubitType() IQubitTypeContext
- func (s *ArgumentDefinitionContext) ScalarType() IScalarTypeContext
- func (s *ArgumentDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgumentDefinitionListContext
- func (s *ArgumentDefinitionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgumentDefinitionListContext) AllArgumentDefinition() []IArgumentDefinitionContext
- func (s *ArgumentDefinitionListContext) AllCOMMA() []antlr.TerminalNode
- func (s *ArgumentDefinitionListContext) ArgumentDefinition(i int) IArgumentDefinitionContext
- func (s *ArgumentDefinitionListContext) COMMA(i int) antlr.TerminalNode
- func (s *ArgumentDefinitionListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgumentDefinitionListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgumentDefinitionListContext) GetParser() antlr.Parser
- func (s *ArgumentDefinitionListContext) GetRuleContext() antlr.RuleContext
- func (*ArgumentDefinitionListContext) IsArgumentDefinitionListContext()
- func (s *ArgumentDefinitionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayLiteralContext
- func (s *ArrayLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayLiteralContext) AllArrayLiteral() []IArrayLiteralContext
- func (s *ArrayLiteralContext) AllCOMMA() []antlr.TerminalNode
- func (s *ArrayLiteralContext) AllExpression() []IExpressionContext
- func (s *ArrayLiteralContext) ArrayLiteral(i int) IArrayLiteralContext
- func (s *ArrayLiteralContext) COMMA(i int) antlr.TerminalNode
- func (s *ArrayLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayLiteralContext) Expression(i int) IExpressionContext
- func (s *ArrayLiteralContext) GetParser() antlr.Parser
- func (s *ArrayLiteralContext) GetRuleContext() antlr.RuleContext
- func (*ArrayLiteralContext) IsArrayLiteralContext()
- func (s *ArrayLiteralContext) LBRACE() antlr.TerminalNode
- func (s *ArrayLiteralContext) RBRACE() antlr.TerminalNode
- func (s *ArrayLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayReferenceTypeContext
- func (s *ArrayReferenceTypeContext) ARRAY() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayReferenceTypeContext) COMMA() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) DIM() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) EQUALS() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayReferenceTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayReferenceTypeContext) Expression() IExpressionContext
- func (s *ArrayReferenceTypeContext) ExpressionList() IExpressionListContext
- func (s *ArrayReferenceTypeContext) GetParser() antlr.Parser
- func (s *ArrayReferenceTypeContext) GetRuleContext() antlr.RuleContext
- func (*ArrayReferenceTypeContext) IsArrayReferenceTypeContext()
- func (s *ArrayReferenceTypeContext) LBRACKET() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) MUTABLE() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) RBRACKET() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) READONLY() antlr.TerminalNode
- func (s *ArrayReferenceTypeContext) ScalarType() IScalarTypeContext
- func (s *ArrayReferenceTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayTypeContext
- func (s *ArrayTypeContext) ARRAY() antlr.TerminalNode
- func (s *ArrayTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayTypeContext) COMMA() antlr.TerminalNode
- func (s *ArrayTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayTypeContext) ExpressionList() IExpressionListContext
- func (s *ArrayTypeContext) GetParser() antlr.Parser
- func (s *ArrayTypeContext) GetRuleContext() antlr.RuleContext
- func (*ArrayTypeContext) IsArrayTypeContext()
- func (s *ArrayTypeContext) LBRACKET() antlr.TerminalNode
- func (s *ArrayTypeContext) RBRACKET() antlr.TerminalNode
- func (s *ArrayTypeContext) ScalarType() IScalarTypeContext
- func (s *ArrayTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AssignmentStatementContext
- func (s *AssignmentStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignmentStatementContext) CompoundAssignmentOperator() antlr.TerminalNode
- func (s *AssignmentStatementContext) EQUALS() antlr.TerminalNode
- func (s *AssignmentStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignmentStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignmentStatementContext) Expression() IExpressionContext
- func (s *AssignmentStatementContext) GetOp() antlr.Token
- func (s *AssignmentStatementContext) GetParser() antlr.Parser
- func (s *AssignmentStatementContext) GetRuleContext() antlr.RuleContext
- func (s *AssignmentStatementContext) IndexedIdentifier() IIndexedIdentifierContext
- func (*AssignmentStatementContext) IsAssignmentStatementContext()
- func (s *AssignmentStatementContext) MeasureExpression() IMeasureExpressionContext
- func (s *AssignmentStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *AssignmentStatementContext) SetOp(v antlr.Token)
- func (s *AssignmentStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BarrierStatementContext
- func (s *BarrierStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BarrierStatementContext) BARRIER() antlr.TerminalNode
- func (s *BarrierStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BarrierStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BarrierStatementContext) GateOperandList() IGateOperandListContext
- func (s *BarrierStatementContext) GetParser() antlr.Parser
- func (s *BarrierStatementContext) GetRuleContext() antlr.RuleContext
- func (*BarrierStatementContext) IsBarrierStatementContext()
- func (s *BarrierStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *BarrierStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Baseqasm3ParserListener
- func (s *Baseqasm3ParserListener) EnterAdditiveExpression(ctx *AdditiveExpressionContext)
- func (s *Baseqasm3ParserListener) EnterAliasDeclarationStatement(ctx *AliasDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) EnterAliasExpression(ctx *AliasExpressionContext)
- func (s *Baseqasm3ParserListener) EnterAnnotation(ctx *AnnotationContext)
- func (s *Baseqasm3ParserListener) EnterArgumentDefinition(ctx *ArgumentDefinitionContext)
- func (s *Baseqasm3ParserListener) EnterArgumentDefinitionList(ctx *ArgumentDefinitionListContext)
- func (s *Baseqasm3ParserListener) EnterArrayLiteral(ctx *ArrayLiteralContext)
- func (s *Baseqasm3ParserListener) EnterArrayReferenceType(ctx *ArrayReferenceTypeContext)
- func (s *Baseqasm3ParserListener) EnterArrayType(ctx *ArrayTypeContext)
- func (s *Baseqasm3ParserListener) EnterAssignmentStatement(ctx *AssignmentStatementContext)
- func (s *Baseqasm3ParserListener) EnterBarrierStatement(ctx *BarrierStatementContext)
- func (s *Baseqasm3ParserListener) EnterBitshiftExpression(ctx *BitshiftExpressionContext)
- func (s *Baseqasm3ParserListener) EnterBitwiseAndExpression(ctx *BitwiseAndExpressionContext)
- func (s *Baseqasm3ParserListener) EnterBitwiseOrExpression(ctx *BitwiseOrExpressionContext)
- func (s *Baseqasm3ParserListener) EnterBitwiseXorExpression(ctx *BitwiseXorExpressionContext)
- func (s *Baseqasm3ParserListener) EnterBoxStatement(ctx *BoxStatementContext)
- func (s *Baseqasm3ParserListener) EnterBreakStatement(ctx *BreakStatementContext)
- func (s *Baseqasm3ParserListener) EnterCalStatement(ctx *CalStatementContext)
- func (s *Baseqasm3ParserListener) EnterCalibrationGrammarStatement(ctx *CalibrationGrammarStatementContext)
- func (s *Baseqasm3ParserListener) EnterCallExpression(ctx *CallExpressionContext)
- func (s *Baseqasm3ParserListener) EnterCastExpression(ctx *CastExpressionContext)
- func (s *Baseqasm3ParserListener) EnterClassicalDeclarationStatement(ctx *ClassicalDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) EnterComparisonExpression(ctx *ComparisonExpressionContext)
- func (s *Baseqasm3ParserListener) EnterConstDeclarationStatement(ctx *ConstDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) EnterContinueStatement(ctx *ContinueStatementContext)
- func (s *Baseqasm3ParserListener) EnterDeclarationExpression(ctx *DeclarationExpressionContext)
- func (s *Baseqasm3ParserListener) EnterDefStatement(ctx *DefStatementContext)
- func (s *Baseqasm3ParserListener) EnterDefcalArgumentDefinition(ctx *DefcalArgumentDefinitionContext)
- func (s *Baseqasm3ParserListener) EnterDefcalArgumentDefinitionList(ctx *DefcalArgumentDefinitionListContext)
- func (s *Baseqasm3ParserListener) EnterDefcalOperand(ctx *DefcalOperandContext)
- func (s *Baseqasm3ParserListener) EnterDefcalOperandList(ctx *DefcalOperandListContext)
- func (s *Baseqasm3ParserListener) EnterDefcalStatement(ctx *DefcalStatementContext)
- func (s *Baseqasm3ParserListener) EnterDefcalTarget(ctx *DefcalTargetContext)
- func (s *Baseqasm3ParserListener) EnterDelayStatement(ctx *DelayStatementContext)
- func (s *Baseqasm3ParserListener) EnterDesignator(ctx *DesignatorContext)
- func (s *Baseqasm3ParserListener) EnterDurationofExpression(ctx *DurationofExpressionContext)
- func (s *Baseqasm3ParserListener) EnterEndStatement(ctx *EndStatementContext)
- func (s *Baseqasm3ParserListener) EnterEqualityExpression(ctx *EqualityExpressionContext)
- func (s *Baseqasm3ParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *Baseqasm3ParserListener) EnterExpressionList(ctx *ExpressionListContext)
- func (s *Baseqasm3ParserListener) EnterExpressionStatement(ctx *ExpressionStatementContext)
- func (s *Baseqasm3ParserListener) EnterExternArgument(ctx *ExternArgumentContext)
- func (s *Baseqasm3ParserListener) EnterExternArgumentList(ctx *ExternArgumentListContext)
- func (s *Baseqasm3ParserListener) EnterExternStatement(ctx *ExternStatementContext)
- func (s *Baseqasm3ParserListener) EnterForStatement(ctx *ForStatementContext)
- func (s *Baseqasm3ParserListener) EnterGateCallStatement(ctx *GateCallStatementContext)
- func (s *Baseqasm3ParserListener) EnterGateModifier(ctx *GateModifierContext)
- func (s *Baseqasm3ParserListener) EnterGateOperand(ctx *GateOperandContext)
- func (s *Baseqasm3ParserListener) EnterGateOperandList(ctx *GateOperandListContext)
- func (s *Baseqasm3ParserListener) EnterGateStatement(ctx *GateStatementContext)
- func (s *Baseqasm3ParserListener) EnterIdentifierList(ctx *IdentifierListContext)
- func (s *Baseqasm3ParserListener) EnterIfStatement(ctx *IfStatementContext)
- func (s *Baseqasm3ParserListener) EnterIncludeStatement(ctx *IncludeStatementContext)
- func (s *Baseqasm3ParserListener) EnterIndexExpression(ctx *IndexExpressionContext)
- func (s *Baseqasm3ParserListener) EnterIndexOperator(ctx *IndexOperatorContext)
- func (s *Baseqasm3ParserListener) EnterIndexedIdentifier(ctx *IndexedIdentifierContext)
- func (s *Baseqasm3ParserListener) EnterIoDeclarationStatement(ctx *IoDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) EnterLiteralExpression(ctx *LiteralExpressionContext)
- func (s *Baseqasm3ParserListener) EnterLogicalAndExpression(ctx *LogicalAndExpressionContext)
- func (s *Baseqasm3ParserListener) EnterLogicalOrExpression(ctx *LogicalOrExpressionContext)
- func (s *Baseqasm3ParserListener) EnterMeasureArrowAssignmentStatement(ctx *MeasureArrowAssignmentStatementContext)
- func (s *Baseqasm3ParserListener) EnterMeasureExpression(ctx *MeasureExpressionContext)
- func (s *Baseqasm3ParserListener) EnterMultiplicativeExpression(ctx *MultiplicativeExpressionContext)
- func (s *Baseqasm3ParserListener) EnterOldStyleDeclarationStatement(ctx *OldStyleDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) EnterParenthesisExpression(ctx *ParenthesisExpressionContext)
- func (s *Baseqasm3ParserListener) EnterPowerExpression(ctx *PowerExpressionContext)
- func (s *Baseqasm3ParserListener) EnterPragma(ctx *PragmaContext)
- func (s *Baseqasm3ParserListener) EnterProgram(ctx *ProgramContext)
- func (s *Baseqasm3ParserListener) EnterQuantumDeclarationStatement(ctx *QuantumDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) EnterQubitType(ctx *QubitTypeContext)
- func (s *Baseqasm3ParserListener) EnterRangeExpression(ctx *RangeExpressionContext)
- func (s *Baseqasm3ParserListener) EnterResetStatement(ctx *ResetStatementContext)
- func (s *Baseqasm3ParserListener) EnterReturnSignature(ctx *ReturnSignatureContext)
- func (s *Baseqasm3ParserListener) EnterReturnStatement(ctx *ReturnStatementContext)
- func (s *Baseqasm3ParserListener) EnterScalarType(ctx *ScalarTypeContext)
- func (s *Baseqasm3ParserListener) EnterScope(ctx *ScopeContext)
- func (s *Baseqasm3ParserListener) EnterSetExpression(ctx *SetExpressionContext)
- func (s *Baseqasm3ParserListener) EnterStatement(ctx *StatementContext)
- func (s *Baseqasm3ParserListener) EnterStatementOrScope(ctx *StatementOrScopeContext)
- func (s *Baseqasm3ParserListener) EnterSwitchCaseItem(ctx *SwitchCaseItemContext)
- func (s *Baseqasm3ParserListener) EnterSwitchStatement(ctx *SwitchStatementContext)
- func (s *Baseqasm3ParserListener) EnterUnaryExpression(ctx *UnaryExpressionContext)
- func (s *Baseqasm3ParserListener) EnterVersion(ctx *VersionContext)
- func (s *Baseqasm3ParserListener) EnterWhileStatement(ctx *WhileStatementContext)
- func (s *Baseqasm3ParserListener) ExitAdditiveExpression(ctx *AdditiveExpressionContext)
- func (s *Baseqasm3ParserListener) ExitAliasDeclarationStatement(ctx *AliasDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) ExitAliasExpression(ctx *AliasExpressionContext)
- func (s *Baseqasm3ParserListener) ExitAnnotation(ctx *AnnotationContext)
- func (s *Baseqasm3ParserListener) ExitArgumentDefinition(ctx *ArgumentDefinitionContext)
- func (s *Baseqasm3ParserListener) ExitArgumentDefinitionList(ctx *ArgumentDefinitionListContext)
- func (s *Baseqasm3ParserListener) ExitArrayLiteral(ctx *ArrayLiteralContext)
- func (s *Baseqasm3ParserListener) ExitArrayReferenceType(ctx *ArrayReferenceTypeContext)
- func (s *Baseqasm3ParserListener) ExitArrayType(ctx *ArrayTypeContext)
- func (s *Baseqasm3ParserListener) ExitAssignmentStatement(ctx *AssignmentStatementContext)
- func (s *Baseqasm3ParserListener) ExitBarrierStatement(ctx *BarrierStatementContext)
- func (s *Baseqasm3ParserListener) ExitBitshiftExpression(ctx *BitshiftExpressionContext)
- func (s *Baseqasm3ParserListener) ExitBitwiseAndExpression(ctx *BitwiseAndExpressionContext)
- func (s *Baseqasm3ParserListener) ExitBitwiseOrExpression(ctx *BitwiseOrExpressionContext)
- func (s *Baseqasm3ParserListener) ExitBitwiseXorExpression(ctx *BitwiseXorExpressionContext)
- func (s *Baseqasm3ParserListener) ExitBoxStatement(ctx *BoxStatementContext)
- func (s *Baseqasm3ParserListener) ExitBreakStatement(ctx *BreakStatementContext)
- func (s *Baseqasm3ParserListener) ExitCalStatement(ctx *CalStatementContext)
- func (s *Baseqasm3ParserListener) ExitCalibrationGrammarStatement(ctx *CalibrationGrammarStatementContext)
- func (s *Baseqasm3ParserListener) ExitCallExpression(ctx *CallExpressionContext)
- func (s *Baseqasm3ParserListener) ExitCastExpression(ctx *CastExpressionContext)
- func (s *Baseqasm3ParserListener) ExitClassicalDeclarationStatement(ctx *ClassicalDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) ExitComparisonExpression(ctx *ComparisonExpressionContext)
- func (s *Baseqasm3ParserListener) ExitConstDeclarationStatement(ctx *ConstDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) ExitContinueStatement(ctx *ContinueStatementContext)
- func (s *Baseqasm3ParserListener) ExitDeclarationExpression(ctx *DeclarationExpressionContext)
- func (s *Baseqasm3ParserListener) ExitDefStatement(ctx *DefStatementContext)
- func (s *Baseqasm3ParserListener) ExitDefcalArgumentDefinition(ctx *DefcalArgumentDefinitionContext)
- func (s *Baseqasm3ParserListener) ExitDefcalArgumentDefinitionList(ctx *DefcalArgumentDefinitionListContext)
- func (s *Baseqasm3ParserListener) ExitDefcalOperand(ctx *DefcalOperandContext)
- func (s *Baseqasm3ParserListener) ExitDefcalOperandList(ctx *DefcalOperandListContext)
- func (s *Baseqasm3ParserListener) ExitDefcalStatement(ctx *DefcalStatementContext)
- func (s *Baseqasm3ParserListener) ExitDefcalTarget(ctx *DefcalTargetContext)
- func (s *Baseqasm3ParserListener) ExitDelayStatement(ctx *DelayStatementContext)
- func (s *Baseqasm3ParserListener) ExitDesignator(ctx *DesignatorContext)
- func (s *Baseqasm3ParserListener) ExitDurationofExpression(ctx *DurationofExpressionContext)
- func (s *Baseqasm3ParserListener) ExitEndStatement(ctx *EndStatementContext)
- func (s *Baseqasm3ParserListener) ExitEqualityExpression(ctx *EqualityExpressionContext)
- func (s *Baseqasm3ParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *Baseqasm3ParserListener) ExitExpressionList(ctx *ExpressionListContext)
- func (s *Baseqasm3ParserListener) ExitExpressionStatement(ctx *ExpressionStatementContext)
- func (s *Baseqasm3ParserListener) ExitExternArgument(ctx *ExternArgumentContext)
- func (s *Baseqasm3ParserListener) ExitExternArgumentList(ctx *ExternArgumentListContext)
- func (s *Baseqasm3ParserListener) ExitExternStatement(ctx *ExternStatementContext)
- func (s *Baseqasm3ParserListener) ExitForStatement(ctx *ForStatementContext)
- func (s *Baseqasm3ParserListener) ExitGateCallStatement(ctx *GateCallStatementContext)
- func (s *Baseqasm3ParserListener) ExitGateModifier(ctx *GateModifierContext)
- func (s *Baseqasm3ParserListener) ExitGateOperand(ctx *GateOperandContext)
- func (s *Baseqasm3ParserListener) ExitGateOperandList(ctx *GateOperandListContext)
- func (s *Baseqasm3ParserListener) ExitGateStatement(ctx *GateStatementContext)
- func (s *Baseqasm3ParserListener) ExitIdentifierList(ctx *IdentifierListContext)
- func (s *Baseqasm3ParserListener) ExitIfStatement(ctx *IfStatementContext)
- func (s *Baseqasm3ParserListener) ExitIncludeStatement(ctx *IncludeStatementContext)
- func (s *Baseqasm3ParserListener) ExitIndexExpression(ctx *IndexExpressionContext)
- func (s *Baseqasm3ParserListener) ExitIndexOperator(ctx *IndexOperatorContext)
- func (s *Baseqasm3ParserListener) ExitIndexedIdentifier(ctx *IndexedIdentifierContext)
- func (s *Baseqasm3ParserListener) ExitIoDeclarationStatement(ctx *IoDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) ExitLiteralExpression(ctx *LiteralExpressionContext)
- func (s *Baseqasm3ParserListener) ExitLogicalAndExpression(ctx *LogicalAndExpressionContext)
- func (s *Baseqasm3ParserListener) ExitLogicalOrExpression(ctx *LogicalOrExpressionContext)
- func (s *Baseqasm3ParserListener) ExitMeasureArrowAssignmentStatement(ctx *MeasureArrowAssignmentStatementContext)
- func (s *Baseqasm3ParserListener) ExitMeasureExpression(ctx *MeasureExpressionContext)
- func (s *Baseqasm3ParserListener) ExitMultiplicativeExpression(ctx *MultiplicativeExpressionContext)
- func (s *Baseqasm3ParserListener) ExitOldStyleDeclarationStatement(ctx *OldStyleDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) ExitParenthesisExpression(ctx *ParenthesisExpressionContext)
- func (s *Baseqasm3ParserListener) ExitPowerExpression(ctx *PowerExpressionContext)
- func (s *Baseqasm3ParserListener) ExitPragma(ctx *PragmaContext)
- func (s *Baseqasm3ParserListener) ExitProgram(ctx *ProgramContext)
- func (s *Baseqasm3ParserListener) ExitQuantumDeclarationStatement(ctx *QuantumDeclarationStatementContext)
- func (s *Baseqasm3ParserListener) ExitQubitType(ctx *QubitTypeContext)
- func (s *Baseqasm3ParserListener) ExitRangeExpression(ctx *RangeExpressionContext)
- func (s *Baseqasm3ParserListener) ExitResetStatement(ctx *ResetStatementContext)
- func (s *Baseqasm3ParserListener) ExitReturnSignature(ctx *ReturnSignatureContext)
- func (s *Baseqasm3ParserListener) ExitReturnStatement(ctx *ReturnStatementContext)
- func (s *Baseqasm3ParserListener) ExitScalarType(ctx *ScalarTypeContext)
- func (s *Baseqasm3ParserListener) ExitScope(ctx *ScopeContext)
- func (s *Baseqasm3ParserListener) ExitSetExpression(ctx *SetExpressionContext)
- func (s *Baseqasm3ParserListener) ExitStatement(ctx *StatementContext)
- func (s *Baseqasm3ParserListener) ExitStatementOrScope(ctx *StatementOrScopeContext)
- func (s *Baseqasm3ParserListener) ExitSwitchCaseItem(ctx *SwitchCaseItemContext)
- func (s *Baseqasm3ParserListener) ExitSwitchStatement(ctx *SwitchStatementContext)
- func (s *Baseqasm3ParserListener) ExitUnaryExpression(ctx *UnaryExpressionContext)
- func (s *Baseqasm3ParserListener) ExitVersion(ctx *VersionContext)
- func (s *Baseqasm3ParserListener) ExitWhileStatement(ctx *WhileStatementContext)
- func (s *Baseqasm3ParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *Baseqasm3ParserListener) VisitTerminal(node antlr.TerminalNode)
- type Baseqasm3ParserVisitor
- func (v *Baseqasm3ParserVisitor) VisitAdditiveExpression(ctx *AdditiveExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitAliasDeclarationStatement(ctx *AliasDeclarationStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitAliasExpression(ctx *AliasExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitAnnotation(ctx *AnnotationContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitArgumentDefinition(ctx *ArgumentDefinitionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitArgumentDefinitionList(ctx *ArgumentDefinitionListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitArrayLiteral(ctx *ArrayLiteralContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitArrayReferenceType(ctx *ArrayReferenceTypeContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitArrayType(ctx *ArrayTypeContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitAssignmentStatement(ctx *AssignmentStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBarrierStatement(ctx *BarrierStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBitshiftExpression(ctx *BitshiftExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBitwiseAndExpression(ctx *BitwiseAndExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBitwiseOrExpression(ctx *BitwiseOrExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBitwiseXorExpression(ctx *BitwiseXorExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBoxStatement(ctx *BoxStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitBreakStatement(ctx *BreakStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitCalStatement(ctx *CalStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitCalibrationGrammarStatement(ctx *CalibrationGrammarStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitCallExpression(ctx *CallExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitCastExpression(ctx *CastExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitClassicalDeclarationStatement(ctx *ClassicalDeclarationStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitComparisonExpression(ctx *ComparisonExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitConstDeclarationStatement(ctx *ConstDeclarationStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitContinueStatement(ctx *ContinueStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDeclarationExpression(ctx *DeclarationExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefStatement(ctx *DefStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefcalArgumentDefinition(ctx *DefcalArgumentDefinitionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefcalArgumentDefinitionList(ctx *DefcalArgumentDefinitionListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefcalOperand(ctx *DefcalOperandContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefcalOperandList(ctx *DefcalOperandListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefcalStatement(ctx *DefcalStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDefcalTarget(ctx *DefcalTargetContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDelayStatement(ctx *DelayStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDesignator(ctx *DesignatorContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitDurationofExpression(ctx *DurationofExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitEndStatement(ctx *EndStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitEqualityExpression(ctx *EqualityExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitExpressionList(ctx *ExpressionListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitExpressionStatement(ctx *ExpressionStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitExternArgument(ctx *ExternArgumentContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitExternArgumentList(ctx *ExternArgumentListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitExternStatement(ctx *ExternStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitForStatement(ctx *ForStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitGateCallStatement(ctx *GateCallStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitGateModifier(ctx *GateModifierContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitGateOperand(ctx *GateOperandContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitGateOperandList(ctx *GateOperandListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitGateStatement(ctx *GateStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIdentifierList(ctx *IdentifierListContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIfStatement(ctx *IfStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIncludeStatement(ctx *IncludeStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIndexExpression(ctx *IndexExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIndexOperator(ctx *IndexOperatorContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIndexedIdentifier(ctx *IndexedIdentifierContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitIoDeclarationStatement(ctx *IoDeclarationStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitLiteralExpression(ctx *LiteralExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitLogicalAndExpression(ctx *LogicalAndExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitLogicalOrExpression(ctx *LogicalOrExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitMeasureArrowAssignmentStatement(ctx *MeasureArrowAssignmentStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitMeasureExpression(ctx *MeasureExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitMultiplicativeExpression(ctx *MultiplicativeExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitOldStyleDeclarationStatement(ctx *OldStyleDeclarationStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitParenthesisExpression(ctx *ParenthesisExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitPowerExpression(ctx *PowerExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitPragma(ctx *PragmaContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitProgram(ctx *ProgramContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitQuantumDeclarationStatement(ctx *QuantumDeclarationStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitQubitType(ctx *QubitTypeContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitRangeExpression(ctx *RangeExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitResetStatement(ctx *ResetStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitReturnSignature(ctx *ReturnSignatureContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitReturnStatement(ctx *ReturnStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitScalarType(ctx *ScalarTypeContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitScope(ctx *ScopeContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitSetExpression(ctx *SetExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitStatement(ctx *StatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitStatementOrScope(ctx *StatementOrScopeContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitSwitchCaseItem(ctx *SwitchCaseItemContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitSwitchStatement(ctx *SwitchStatementContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitUnaryExpression(ctx *UnaryExpressionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitVersion(ctx *VersionContext) interface{}
- func (v *Baseqasm3ParserVisitor) VisitWhileStatement(ctx *WhileStatementContext) interface{}
- type BitshiftExpressionContext
- func (s *BitshiftExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitshiftExpressionContext) AllExpression() []IExpressionContext
- func (s *BitshiftExpressionContext) BitshiftOperator() antlr.TerminalNode
- func (s *BitshiftExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BitshiftExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BitshiftExpressionContext) Expression(i int) IExpressionContext
- func (s *BitshiftExpressionContext) GetOp() antlr.Token
- func (s *BitshiftExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitshiftExpressionContext) SetOp(v antlr.Token)
- type BitwiseAndExpressionContext
- func (s *BitwiseAndExpressionContext) AMPERSAND() antlr.TerminalNode
- func (s *BitwiseAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitwiseAndExpressionContext) AllExpression() []IExpressionContext
- func (s *BitwiseAndExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BitwiseAndExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BitwiseAndExpressionContext) Expression(i int) IExpressionContext
- func (s *BitwiseAndExpressionContext) GetOp() antlr.Token
- func (s *BitwiseAndExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitwiseAndExpressionContext) SetOp(v antlr.Token)
- type BitwiseOrExpressionContext
- func (s *BitwiseOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitwiseOrExpressionContext) AllExpression() []IExpressionContext
- func (s *BitwiseOrExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BitwiseOrExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BitwiseOrExpressionContext) Expression(i int) IExpressionContext
- func (s *BitwiseOrExpressionContext) GetOp() antlr.Token
- func (s *BitwiseOrExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitwiseOrExpressionContext) PIPE() antlr.TerminalNode
- func (s *BitwiseOrExpressionContext) SetOp(v antlr.Token)
- type BitwiseXorExpressionContext
- func (s *BitwiseXorExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BitwiseXorExpressionContext) AllExpression() []IExpressionContext
- func (s *BitwiseXorExpressionContext) CARET() antlr.TerminalNode
- func (s *BitwiseXorExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BitwiseXorExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BitwiseXorExpressionContext) Expression(i int) IExpressionContext
- func (s *BitwiseXorExpressionContext) GetOp() antlr.Token
- func (s *BitwiseXorExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *BitwiseXorExpressionContext) SetOp(v antlr.Token)
- type BoxStatementContext
- func (s *BoxStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BoxStatementContext) BOX() antlr.TerminalNode
- func (s *BoxStatementContext) Designator() IDesignatorContext
- func (s *BoxStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BoxStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BoxStatementContext) GetParser() antlr.Parser
- func (s *BoxStatementContext) GetRuleContext() antlr.RuleContext
- func (*BoxStatementContext) IsBoxStatementContext()
- func (s *BoxStatementContext) Scope() IScopeContext
- func (s *BoxStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BreakStatementContext
- func (s *BreakStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BreakStatementContext) BREAK() antlr.TerminalNode
- func (s *BreakStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BreakStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BreakStatementContext) GetParser() antlr.Parser
- func (s *BreakStatementContext) GetRuleContext() antlr.RuleContext
- func (*BreakStatementContext) IsBreakStatementContext()
- func (s *BreakStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *BreakStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CalStatementContext
- func (s *CalStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CalStatementContext) CAL() antlr.TerminalNode
- func (s *CalStatementContext) CalibrationBlock() antlr.TerminalNode
- func (s *CalStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CalStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CalStatementContext) GetParser() antlr.Parser
- func (s *CalStatementContext) GetRuleContext() antlr.RuleContext
- func (*CalStatementContext) IsCalStatementContext()
- func (s *CalStatementContext) LBRACE() antlr.TerminalNode
- func (s *CalStatementContext) RBRACE() antlr.TerminalNode
- func (s *CalStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CalibrationGrammarStatementContext
- func (s *CalibrationGrammarStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CalibrationGrammarStatementContext) DEFCALGRAMMAR() antlr.TerminalNode
- func (s *CalibrationGrammarStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CalibrationGrammarStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CalibrationGrammarStatementContext) GetParser() antlr.Parser
- func (s *CalibrationGrammarStatementContext) GetRuleContext() antlr.RuleContext
- func (*CalibrationGrammarStatementContext) IsCalibrationGrammarStatementContext()
- func (s *CalibrationGrammarStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *CalibrationGrammarStatementContext) StringLiteral() antlr.TerminalNode
- func (s *CalibrationGrammarStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CallExpressionContext
- func (s *CallExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CallExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CallExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CallExpressionContext) ExpressionList() IExpressionListContext
- func (s *CallExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *CallExpressionContext) Identifier() antlr.TerminalNode
- func (s *CallExpressionContext) LPAREN() antlr.TerminalNode
- func (s *CallExpressionContext) RPAREN() antlr.TerminalNode
- type CastExpressionContext
- func (s *CastExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CastExpressionContext) ArrayType() IArrayTypeContext
- func (s *CastExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CastExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CastExpressionContext) Expression() IExpressionContext
- func (s *CastExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *CastExpressionContext) LPAREN() antlr.TerminalNode
- func (s *CastExpressionContext) RPAREN() antlr.TerminalNode
- func (s *CastExpressionContext) ScalarType() IScalarTypeContext
- type ClassicalDeclarationStatementContext
- func (s *ClassicalDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClassicalDeclarationStatementContext) ArrayType() IArrayTypeContext
- func (s *ClassicalDeclarationStatementContext) DeclarationExpression() IDeclarationExpressionContext
- func (s *ClassicalDeclarationStatementContext) EQUALS() antlr.TerminalNode
- func (s *ClassicalDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClassicalDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClassicalDeclarationStatementContext) GetParser() antlr.Parser
- func (s *ClassicalDeclarationStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ClassicalDeclarationStatementContext) Identifier() antlr.TerminalNode
- func (*ClassicalDeclarationStatementContext) IsClassicalDeclarationStatementContext()
- func (s *ClassicalDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ClassicalDeclarationStatementContext) ScalarType() IScalarTypeContext
- func (s *ClassicalDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ComparisonExpressionContext
- func (s *ComparisonExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ComparisonExpressionContext) AllExpression() []IExpressionContext
- func (s *ComparisonExpressionContext) ComparisonOperator() antlr.TerminalNode
- func (s *ComparisonExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ComparisonExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ComparisonExpressionContext) Expression(i int) IExpressionContext
- func (s *ComparisonExpressionContext) GetOp() antlr.Token
- func (s *ComparisonExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ComparisonExpressionContext) SetOp(v antlr.Token)
- type ConstDeclarationStatementContext
- func (s *ConstDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ConstDeclarationStatementContext) CONST() antlr.TerminalNode
- func (s *ConstDeclarationStatementContext) DeclarationExpression() IDeclarationExpressionContext
- func (s *ConstDeclarationStatementContext) EQUALS() antlr.TerminalNode
- func (s *ConstDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConstDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConstDeclarationStatementContext) GetParser() antlr.Parser
- func (s *ConstDeclarationStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ConstDeclarationStatementContext) Identifier() antlr.TerminalNode
- func (*ConstDeclarationStatementContext) IsConstDeclarationStatementContext()
- func (s *ConstDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ConstDeclarationStatementContext) ScalarType() IScalarTypeContext
- func (s *ConstDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ContinueStatementContext
- func (s *ContinueStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ContinueStatementContext) CONTINUE() antlr.TerminalNode
- func (s *ContinueStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ContinueStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ContinueStatementContext) GetParser() antlr.Parser
- func (s *ContinueStatementContext) GetRuleContext() antlr.RuleContext
- func (*ContinueStatementContext) IsContinueStatementContext()
- func (s *ContinueStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ContinueStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DeclarationExpressionContext
- func (s *DeclarationExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DeclarationExpressionContext) ArrayLiteral() IArrayLiteralContext
- func (s *DeclarationExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DeclarationExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DeclarationExpressionContext) Expression() IExpressionContext
- func (s *DeclarationExpressionContext) GetParser() antlr.Parser
- func (s *DeclarationExpressionContext) GetRuleContext() antlr.RuleContext
- func (*DeclarationExpressionContext) IsDeclarationExpressionContext()
- func (s *DeclarationExpressionContext) MeasureExpression() IMeasureExpressionContext
- func (s *DeclarationExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefStatementContext
- func (s *DefStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefStatementContext) ArgumentDefinitionList() IArgumentDefinitionListContext
- func (s *DefStatementContext) DEF() antlr.TerminalNode
- func (s *DefStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefStatementContext) GetParser() antlr.Parser
- func (s *DefStatementContext) GetRuleContext() antlr.RuleContext
- func (s *DefStatementContext) Identifier() antlr.TerminalNode
- func (*DefStatementContext) IsDefStatementContext()
- func (s *DefStatementContext) LPAREN() antlr.TerminalNode
- func (s *DefStatementContext) RPAREN() antlr.TerminalNode
- func (s *DefStatementContext) ReturnSignature() IReturnSignatureContext
- func (s *DefStatementContext) Scope() IScopeContext
- func (s *DefStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefcalArgumentDefinitionContext
- func (s *DefcalArgumentDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefcalArgumentDefinitionContext) ArgumentDefinition() IArgumentDefinitionContext
- func (s *DefcalArgumentDefinitionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefcalArgumentDefinitionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefcalArgumentDefinitionContext) Expression() IExpressionContext
- func (s *DefcalArgumentDefinitionContext) GetParser() antlr.Parser
- func (s *DefcalArgumentDefinitionContext) GetRuleContext() antlr.RuleContext
- func (*DefcalArgumentDefinitionContext) IsDefcalArgumentDefinitionContext()
- func (s *DefcalArgumentDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefcalArgumentDefinitionListContext
- func (s *DefcalArgumentDefinitionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefcalArgumentDefinitionListContext) AllCOMMA() []antlr.TerminalNode
- func (s *DefcalArgumentDefinitionListContext) AllDefcalArgumentDefinition() []IDefcalArgumentDefinitionContext
- func (s *DefcalArgumentDefinitionListContext) COMMA(i int) antlr.TerminalNode
- func (s *DefcalArgumentDefinitionListContext) DefcalArgumentDefinition(i int) IDefcalArgumentDefinitionContext
- func (s *DefcalArgumentDefinitionListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefcalArgumentDefinitionListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefcalArgumentDefinitionListContext) GetParser() antlr.Parser
- func (s *DefcalArgumentDefinitionListContext) GetRuleContext() antlr.RuleContext
- func (*DefcalArgumentDefinitionListContext) IsDefcalArgumentDefinitionListContext()
- func (s *DefcalArgumentDefinitionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefcalOperandContext
- func (s *DefcalOperandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefcalOperandContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefcalOperandContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefcalOperandContext) GetParser() antlr.Parser
- func (s *DefcalOperandContext) GetRuleContext() antlr.RuleContext
- func (s *DefcalOperandContext) HardwareQubit() antlr.TerminalNode
- func (s *DefcalOperandContext) Identifier() antlr.TerminalNode
- func (*DefcalOperandContext) IsDefcalOperandContext()
- func (s *DefcalOperandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefcalOperandListContext
- func (s *DefcalOperandListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefcalOperandListContext) AllCOMMA() []antlr.TerminalNode
- func (s *DefcalOperandListContext) AllDefcalOperand() []IDefcalOperandContext
- func (s *DefcalOperandListContext) COMMA(i int) antlr.TerminalNode
- func (s *DefcalOperandListContext) DefcalOperand(i int) IDefcalOperandContext
- func (s *DefcalOperandListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefcalOperandListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefcalOperandListContext) GetParser() antlr.Parser
- func (s *DefcalOperandListContext) GetRuleContext() antlr.RuleContext
- func (*DefcalOperandListContext) IsDefcalOperandListContext()
- func (s *DefcalOperandListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefcalStatementContext
- func (s *DefcalStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefcalStatementContext) CalibrationBlock() antlr.TerminalNode
- func (s *DefcalStatementContext) DEFCAL() antlr.TerminalNode
- func (s *DefcalStatementContext) DefcalArgumentDefinitionList() IDefcalArgumentDefinitionListContext
- func (s *DefcalStatementContext) DefcalOperandList() IDefcalOperandListContext
- func (s *DefcalStatementContext) DefcalTarget() IDefcalTargetContext
- func (s *DefcalStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefcalStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefcalStatementContext) GetParser() antlr.Parser
- func (s *DefcalStatementContext) GetRuleContext() antlr.RuleContext
- func (*DefcalStatementContext) IsDefcalStatementContext()
- func (s *DefcalStatementContext) LBRACE() antlr.TerminalNode
- func (s *DefcalStatementContext) LPAREN() antlr.TerminalNode
- func (s *DefcalStatementContext) RBRACE() antlr.TerminalNode
- func (s *DefcalStatementContext) RPAREN() antlr.TerminalNode
- func (s *DefcalStatementContext) ReturnSignature() IReturnSignatureContext
- func (s *DefcalStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DefcalTargetContext
- func (s *DefcalTargetContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DefcalTargetContext) DELAY() antlr.TerminalNode
- func (s *DefcalTargetContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DefcalTargetContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DefcalTargetContext) GetParser() antlr.Parser
- func (s *DefcalTargetContext) GetRuleContext() antlr.RuleContext
- func (s *DefcalTargetContext) Identifier() antlr.TerminalNode
- func (*DefcalTargetContext) IsDefcalTargetContext()
- func (s *DefcalTargetContext) MEASURE() antlr.TerminalNode
- func (s *DefcalTargetContext) RESET() antlr.TerminalNode
- func (s *DefcalTargetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DelayStatementContext
- func (s *DelayStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DelayStatementContext) DELAY() antlr.TerminalNode
- func (s *DelayStatementContext) Designator() IDesignatorContext
- func (s *DelayStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DelayStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DelayStatementContext) GateOperandList() IGateOperandListContext
- func (s *DelayStatementContext) GetParser() antlr.Parser
- func (s *DelayStatementContext) GetRuleContext() antlr.RuleContext
- func (*DelayStatementContext) IsDelayStatementContext()
- func (s *DelayStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *DelayStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DesignatorContext
- func (s *DesignatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DesignatorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DesignatorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DesignatorContext) Expression() IExpressionContext
- func (s *DesignatorContext) GetParser() antlr.Parser
- func (s *DesignatorContext) GetRuleContext() antlr.RuleContext
- func (*DesignatorContext) IsDesignatorContext()
- func (s *DesignatorContext) LBRACKET() antlr.TerminalNode
- func (s *DesignatorContext) RBRACKET() antlr.TerminalNode
- func (s *DesignatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DurationofExpressionContext
- func (s *DurationofExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DurationofExpressionContext) DURATIONOF() antlr.TerminalNode
- func (s *DurationofExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DurationofExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DurationofExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *DurationofExpressionContext) LPAREN() antlr.TerminalNode
- func (s *DurationofExpressionContext) RPAREN() antlr.TerminalNode
- func (s *DurationofExpressionContext) Scope() IScopeContext
- type EndStatementContext
- func (s *EndStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EndStatementContext) END() antlr.TerminalNode
- func (s *EndStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EndStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EndStatementContext) GetParser() antlr.Parser
- func (s *EndStatementContext) GetRuleContext() antlr.RuleContext
- func (*EndStatementContext) IsEndStatementContext()
- func (s *EndStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *EndStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EqualityExpressionContext
- func (s *EqualityExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EqualityExpressionContext) AllExpression() []IExpressionContext
- func (s *EqualityExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EqualityExpressionContext) EqualityOperator() antlr.TerminalNode
- func (s *EqualityExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EqualityExpressionContext) Expression(i int) IExpressionContext
- func (s *EqualityExpressionContext) GetOp() antlr.Token
- func (s *EqualityExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *EqualityExpressionContext) SetOp(v antlr.Token)
- type ExpressionContext
- func (s *ExpressionContext) CopyAll(ctx *ExpressionContext)
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionListContext
- func (s *ExpressionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionListContext) AllCOMMA() []antlr.TerminalNode
- func (s *ExpressionListContext) AllExpression() []IExpressionContext
- func (s *ExpressionListContext) COMMA(i int) antlr.TerminalNode
- func (s *ExpressionListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionListContext) Expression(i int) IExpressionContext
- func (s *ExpressionListContext) GetParser() antlr.Parser
- func (s *ExpressionListContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionListContext) IsExpressionListContext()
- func (s *ExpressionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionStatementContext
- func (s *ExpressionStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionStatementContext) Expression() IExpressionContext
- func (s *ExpressionStatementContext) GetParser() antlr.Parser
- func (s *ExpressionStatementContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionStatementContext) IsExpressionStatementContext()
- func (s *ExpressionStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ExpressionStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExternArgumentContext
- func (s *ExternArgumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExternArgumentContext) ArrayReferenceType() IArrayReferenceTypeContext
- func (s *ExternArgumentContext) CREG() antlr.TerminalNode
- func (s *ExternArgumentContext) Designator() IDesignatorContext
- func (s *ExternArgumentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExternArgumentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExternArgumentContext) GetParser() antlr.Parser
- func (s *ExternArgumentContext) GetRuleContext() antlr.RuleContext
- func (*ExternArgumentContext) IsExternArgumentContext()
- func (s *ExternArgumentContext) ScalarType() IScalarTypeContext
- func (s *ExternArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExternArgumentListContext
- func (s *ExternArgumentListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExternArgumentListContext) AllCOMMA() []antlr.TerminalNode
- func (s *ExternArgumentListContext) AllExternArgument() []IExternArgumentContext
- func (s *ExternArgumentListContext) COMMA(i int) antlr.TerminalNode
- func (s *ExternArgumentListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExternArgumentListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExternArgumentListContext) ExternArgument(i int) IExternArgumentContext
- func (s *ExternArgumentListContext) GetParser() antlr.Parser
- func (s *ExternArgumentListContext) GetRuleContext() antlr.RuleContext
- func (*ExternArgumentListContext) IsExternArgumentListContext()
- func (s *ExternArgumentListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExternStatementContext
- func (s *ExternStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExternStatementContext) EXTERN() antlr.TerminalNode
- func (s *ExternStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExternStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExternStatementContext) ExternArgumentList() IExternArgumentListContext
- func (s *ExternStatementContext) GetParser() antlr.Parser
- func (s *ExternStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ExternStatementContext) Identifier() antlr.TerminalNode
- func (*ExternStatementContext) IsExternStatementContext()
- func (s *ExternStatementContext) LPAREN() antlr.TerminalNode
- func (s *ExternStatementContext) RPAREN() antlr.TerminalNode
- func (s *ExternStatementContext) ReturnSignature() IReturnSignatureContext
- func (s *ExternStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ExternStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ForStatementContext
- func (s *ForStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ForStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ForStatementContext) Expression() IExpressionContext
- func (s *ForStatementContext) FOR() antlr.TerminalNode
- func (s *ForStatementContext) GetBody() IStatementOrScopeContext
- func (s *ForStatementContext) GetParser() antlr.Parser
- func (s *ForStatementContext) GetRuleContext() antlr.RuleContext
- func (s *ForStatementContext) IN() antlr.TerminalNode
- func (s *ForStatementContext) Identifier() antlr.TerminalNode
- func (*ForStatementContext) IsForStatementContext()
- func (s *ForStatementContext) LBRACKET() antlr.TerminalNode
- func (s *ForStatementContext) RBRACKET() antlr.TerminalNode
- func (s *ForStatementContext) RangeExpression() IRangeExpressionContext
- func (s *ForStatementContext) ScalarType() IScalarTypeContext
- func (s *ForStatementContext) SetBody(v IStatementOrScopeContext)
- func (s *ForStatementContext) SetExpression() ISetExpressionContext
- func (s *ForStatementContext) StatementOrScope() IStatementOrScopeContext
- func (s *ForStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GateCallStatementContext
- func (s *GateCallStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GateCallStatementContext) AllGateModifier() []IGateModifierContext
- func (s *GateCallStatementContext) Designator() IDesignatorContext
- func (s *GateCallStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GateCallStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GateCallStatementContext) ExpressionList() IExpressionListContext
- func (s *GateCallStatementContext) GPHASE() antlr.TerminalNode
- func (s *GateCallStatementContext) GateModifier(i int) IGateModifierContext
- func (s *GateCallStatementContext) GateOperandList() IGateOperandListContext
- func (s *GateCallStatementContext) GetParser() antlr.Parser
- func (s *GateCallStatementContext) GetRuleContext() antlr.RuleContext
- func (s *GateCallStatementContext) Identifier() antlr.TerminalNode
- func (*GateCallStatementContext) IsGateCallStatementContext()
- func (s *GateCallStatementContext) LPAREN() antlr.TerminalNode
- func (s *GateCallStatementContext) RPAREN() antlr.TerminalNode
- func (s *GateCallStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *GateCallStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GateModifierContext
- func (s *GateModifierContext) AT() antlr.TerminalNode
- func (s *GateModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GateModifierContext) CTRL() antlr.TerminalNode
- func (s *GateModifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GateModifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GateModifierContext) Expression() IExpressionContext
- func (s *GateModifierContext) GetParser() antlr.Parser
- func (s *GateModifierContext) GetRuleContext() antlr.RuleContext
- func (s *GateModifierContext) INV() antlr.TerminalNode
- func (*GateModifierContext) IsGateModifierContext()
- func (s *GateModifierContext) LPAREN() antlr.TerminalNode
- func (s *GateModifierContext) NEGCTRL() antlr.TerminalNode
- func (s *GateModifierContext) POW() antlr.TerminalNode
- func (s *GateModifierContext) RPAREN() antlr.TerminalNode
- func (s *GateModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GateOperandContext
- func (s *GateOperandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GateOperandContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GateOperandContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GateOperandContext) GetParser() antlr.Parser
- func (s *GateOperandContext) GetRuleContext() antlr.RuleContext
- func (s *GateOperandContext) HardwareQubit() antlr.TerminalNode
- func (s *GateOperandContext) IndexedIdentifier() IIndexedIdentifierContext
- func (*GateOperandContext) IsGateOperandContext()
- func (s *GateOperandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GateOperandListContext
- func (s *GateOperandListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GateOperandListContext) AllCOMMA() []antlr.TerminalNode
- func (s *GateOperandListContext) AllGateOperand() []IGateOperandContext
- func (s *GateOperandListContext) COMMA(i int) antlr.TerminalNode
- func (s *GateOperandListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GateOperandListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GateOperandListContext) GateOperand(i int) IGateOperandContext
- func (s *GateOperandListContext) GetParser() antlr.Parser
- func (s *GateOperandListContext) GetRuleContext() antlr.RuleContext
- func (*GateOperandListContext) IsGateOperandListContext()
- func (s *GateOperandListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GateStatementContext
- func (s *GateStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GateStatementContext) AllIdentifierList() []IIdentifierListContext
- func (s *GateStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GateStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GateStatementContext) GATE() antlr.TerminalNode
- func (s *GateStatementContext) GetParams() IIdentifierListContext
- func (s *GateStatementContext) GetParser() antlr.Parser
- func (s *GateStatementContext) GetQubits() IIdentifierListContext
- func (s *GateStatementContext) GetRuleContext() antlr.RuleContext
- func (s *GateStatementContext) Identifier() antlr.TerminalNode
- func (s *GateStatementContext) IdentifierList(i int) IIdentifierListContext
- func (*GateStatementContext) IsGateStatementContext()
- func (s *GateStatementContext) LPAREN() antlr.TerminalNode
- func (s *GateStatementContext) RPAREN() antlr.TerminalNode
- func (s *GateStatementContext) Scope() IScopeContext
- func (s *GateStatementContext) SetParams(v IIdentifierListContext)
- func (s *GateStatementContext) SetQubits(v IIdentifierListContext)
- func (s *GateStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAliasDeclarationStatementContext
- type IAliasExpressionContext
- type IAnnotationContext
- type IArgumentDefinitionContext
- type IArgumentDefinitionListContext
- type IArrayLiteralContext
- type IArrayReferenceTypeContext
- type IArrayTypeContext
- type IAssignmentStatementContext
- type IBarrierStatementContext
- type IBoxStatementContext
- type IBreakStatementContext
- type ICalStatementContext
- type ICalibrationGrammarStatementContext
- type IClassicalDeclarationStatementContext
- type IConstDeclarationStatementContext
- type IContinueStatementContext
- type IDeclarationExpressionContext
- type IDefStatementContext
- type IDefcalArgumentDefinitionContext
- type IDefcalArgumentDefinitionListContext
- type IDefcalOperandContext
- type IDefcalOperandListContext
- type IDefcalStatementContext
- type IDefcalTargetContext
- type IDelayStatementContext
- type IDesignatorContext
- type IEndStatementContext
- type IExpressionContext
- type IExpressionListContext
- type IExpressionStatementContext
- type IExternArgumentContext
- type IExternArgumentListContext
- type IExternStatementContext
- type IForStatementContext
- type IGateCallStatementContext
- type IGateModifierContext
- type IGateOperandContext
- type IGateOperandListContext
- type IGateStatementContext
- type IIdentifierListContext
- type IIfStatementContext
- type IIncludeStatementContext
- type IIndexOperatorContext
- type IIndexedIdentifierContext
- type IIoDeclarationStatementContext
- type IMeasureArrowAssignmentStatementContext
- type IMeasureExpressionContext
- type IOldStyleDeclarationStatementContext
- type IPragmaContext
- type IProgramContext
- type IQuantumDeclarationStatementContext
- type IQubitTypeContext
- type IRangeExpressionContext
- type IResetStatementContext
- type IReturnSignatureContext
- type IReturnStatementContext
- type IScalarTypeContext
- type IScopeContext
- type ISetExpressionContext
- type IStatementContext
- type IStatementOrScopeContext
- type ISwitchCaseItemContext
- type ISwitchStatementContext
- type IVersionContext
- type IWhileStatementContext
- type IdentifierListContext
- func (s *IdentifierListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierListContext) AllCOMMA() []antlr.TerminalNode
- func (s *IdentifierListContext) AllIdentifier() []antlr.TerminalNode
- func (s *IdentifierListContext) COMMA(i int) antlr.TerminalNode
- func (s *IdentifierListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierListContext) GetParser() antlr.Parser
- func (s *IdentifierListContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierListContext) Identifier(i int) antlr.TerminalNode
- func (*IdentifierListContext) IsIdentifierListContext()
- func (s *IdentifierListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IfStatementContext
- func (s *IfStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IfStatementContext) AllStatementOrScope() []IStatementOrScopeContext
- func (s *IfStatementContext) ELSE() antlr.TerminalNode
- func (s *IfStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IfStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IfStatementContext) Expression() IExpressionContext
- func (s *IfStatementContext) GetElse_body() IStatementOrScopeContext
- func (s *IfStatementContext) GetIf_body() IStatementOrScopeContext
- func (s *IfStatementContext) GetParser() antlr.Parser
- func (s *IfStatementContext) GetRuleContext() antlr.RuleContext
- func (s *IfStatementContext) IF() antlr.TerminalNode
- func (*IfStatementContext) IsIfStatementContext()
- func (s *IfStatementContext) LPAREN() antlr.TerminalNode
- func (s *IfStatementContext) RPAREN() antlr.TerminalNode
- func (s *IfStatementContext) SetElse_body(v IStatementOrScopeContext)
- func (s *IfStatementContext) SetIf_body(v IStatementOrScopeContext)
- func (s *IfStatementContext) StatementOrScope(i int) IStatementOrScopeContext
- func (s *IfStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IncludeStatementContext
- func (s *IncludeStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IncludeStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IncludeStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IncludeStatementContext) GetParser() antlr.Parser
- func (s *IncludeStatementContext) GetRuleContext() antlr.RuleContext
- func (s *IncludeStatementContext) INCLUDE() antlr.TerminalNode
- func (*IncludeStatementContext) IsIncludeStatementContext()
- func (s *IncludeStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *IncludeStatementContext) StringLiteral() antlr.TerminalNode
- func (s *IncludeStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IndexExpressionContext
- func (s *IndexExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IndexExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IndexExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IndexExpressionContext) Expression() IExpressionContext
- func (s *IndexExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *IndexExpressionContext) IndexOperator() IIndexOperatorContext
- type IndexOperatorContext
- func (s *IndexOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IndexOperatorContext) AllCOMMA() []antlr.TerminalNode
- func (s *IndexOperatorContext) AllExpression() []IExpressionContext
- func (s *IndexOperatorContext) AllRangeExpression() []IRangeExpressionContext
- func (s *IndexOperatorContext) COMMA(i int) antlr.TerminalNode
- func (s *IndexOperatorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IndexOperatorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IndexOperatorContext) Expression(i int) IExpressionContext
- func (s *IndexOperatorContext) GetParser() antlr.Parser
- func (s *IndexOperatorContext) GetRuleContext() antlr.RuleContext
- func (*IndexOperatorContext) IsIndexOperatorContext()
- func (s *IndexOperatorContext) LBRACKET() antlr.TerminalNode
- func (s *IndexOperatorContext) RBRACKET() antlr.TerminalNode
- func (s *IndexOperatorContext) RangeExpression(i int) IRangeExpressionContext
- func (s *IndexOperatorContext) SetExpression() ISetExpressionContext
- func (s *IndexOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IndexedIdentifierContext
- func (s *IndexedIdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IndexedIdentifierContext) AllIndexOperator() []IIndexOperatorContext
- func (s *IndexedIdentifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IndexedIdentifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IndexedIdentifierContext) GetParser() antlr.Parser
- func (s *IndexedIdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *IndexedIdentifierContext) Identifier() antlr.TerminalNode
- func (s *IndexedIdentifierContext) IndexOperator(i int) IIndexOperatorContext
- func (*IndexedIdentifierContext) IsIndexedIdentifierContext()
- func (s *IndexedIdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IoDeclarationStatementContext
- func (s *IoDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IoDeclarationStatementContext) ArrayType() IArrayTypeContext
- func (s *IoDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IoDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IoDeclarationStatementContext) GetParser() antlr.Parser
- func (s *IoDeclarationStatementContext) GetRuleContext() antlr.RuleContext
- func (s *IoDeclarationStatementContext) INPUT() antlr.TerminalNode
- func (s *IoDeclarationStatementContext) Identifier() antlr.TerminalNode
- func (*IoDeclarationStatementContext) IsIoDeclarationStatementContext()
- func (s *IoDeclarationStatementContext) OUTPUT() antlr.TerminalNode
- func (s *IoDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *IoDeclarationStatementContext) ScalarType() IScalarTypeContext
- func (s *IoDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralExpressionContext
- func (s *LiteralExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralExpressionContext) BinaryIntegerLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) BitstringLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) BooleanLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) DecimalIntegerLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralExpressionContext) FloatLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *LiteralExpressionContext) HardwareQubit() antlr.TerminalNode
- func (s *LiteralExpressionContext) HexIntegerLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) Identifier() antlr.TerminalNode
- func (s *LiteralExpressionContext) ImaginaryLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) OctalIntegerLiteral() antlr.TerminalNode
- func (s *LiteralExpressionContext) TimingLiteral() antlr.TerminalNode
- type LogicalAndExpressionContext
- func (s *LogicalAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LogicalAndExpressionContext) AllExpression() []IExpressionContext
- func (s *LogicalAndExpressionContext) DOUBLE_AMPERSAND() antlr.TerminalNode
- func (s *LogicalAndExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LogicalAndExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LogicalAndExpressionContext) Expression(i int) IExpressionContext
- func (s *LogicalAndExpressionContext) GetOp() antlr.Token
- func (s *LogicalAndExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *LogicalAndExpressionContext) SetOp(v antlr.Token)
- type LogicalOrExpressionContext
- func (s *LogicalOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LogicalOrExpressionContext) AllExpression() []IExpressionContext
- func (s *LogicalOrExpressionContext) DOUBLE_PIPE() antlr.TerminalNode
- func (s *LogicalOrExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LogicalOrExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LogicalOrExpressionContext) Expression(i int) IExpressionContext
- func (s *LogicalOrExpressionContext) GetOp() antlr.Token
- func (s *LogicalOrExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *LogicalOrExpressionContext) SetOp(v antlr.Token)
- type MeasureArrowAssignmentStatementContext
- func (s *MeasureArrowAssignmentStatementContext) ARROW() antlr.TerminalNode
- func (s *MeasureArrowAssignmentStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MeasureArrowAssignmentStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MeasureArrowAssignmentStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MeasureArrowAssignmentStatementContext) GetParser() antlr.Parser
- func (s *MeasureArrowAssignmentStatementContext) GetRuleContext() antlr.RuleContext
- func (s *MeasureArrowAssignmentStatementContext) IndexedIdentifier() IIndexedIdentifierContext
- func (*MeasureArrowAssignmentStatementContext) IsMeasureArrowAssignmentStatementContext()
- func (s *MeasureArrowAssignmentStatementContext) MeasureExpression() IMeasureExpressionContext
- func (s *MeasureArrowAssignmentStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *MeasureArrowAssignmentStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MeasureExpressionContext
- func (s *MeasureExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MeasureExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MeasureExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MeasureExpressionContext) GateOperand() IGateOperandContext
- func (s *MeasureExpressionContext) GetParser() antlr.Parser
- func (s *MeasureExpressionContext) GetRuleContext() antlr.RuleContext
- func (*MeasureExpressionContext) IsMeasureExpressionContext()
- func (s *MeasureExpressionContext) MEASURE() antlr.TerminalNode
- func (s *MeasureExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MultiplicativeExpressionContext
- func (s *MultiplicativeExpressionContext) ASTERISK() antlr.TerminalNode
- func (s *MultiplicativeExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MultiplicativeExpressionContext) AllExpression() []IExpressionContext
- func (s *MultiplicativeExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MultiplicativeExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MultiplicativeExpressionContext) Expression(i int) IExpressionContext
- func (s *MultiplicativeExpressionContext) GetOp() antlr.Token
- func (s *MultiplicativeExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *MultiplicativeExpressionContext) PERCENT() antlr.TerminalNode
- func (s *MultiplicativeExpressionContext) SLASH() antlr.TerminalNode
- func (s *MultiplicativeExpressionContext) SetOp(v antlr.Token)
- type OldStyleDeclarationStatementContext
- func (s *OldStyleDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OldStyleDeclarationStatementContext) CREG() antlr.TerminalNode
- func (s *OldStyleDeclarationStatementContext) Designator() IDesignatorContext
- func (s *OldStyleDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OldStyleDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OldStyleDeclarationStatementContext) GetParser() antlr.Parser
- func (s *OldStyleDeclarationStatementContext) GetRuleContext() antlr.RuleContext
- func (s *OldStyleDeclarationStatementContext) Identifier() antlr.TerminalNode
- func (*OldStyleDeclarationStatementContext) IsOldStyleDeclarationStatementContext()
- func (s *OldStyleDeclarationStatementContext) QREG() antlr.TerminalNode
- func (s *OldStyleDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *OldStyleDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParenthesisExpressionContext
- func (s *ParenthesisExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParenthesisExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParenthesisExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParenthesisExpressionContext) Expression() IExpressionContext
- func (s *ParenthesisExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ParenthesisExpressionContext) LPAREN() antlr.TerminalNode
- func (s *ParenthesisExpressionContext) RPAREN() antlr.TerminalNode
- type PowerExpressionContext
- func (s *PowerExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PowerExpressionContext) AllExpression() []IExpressionContext
- func (s *PowerExpressionContext) DOUBLE_ASTERISK() antlr.TerminalNode
- func (s *PowerExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PowerExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PowerExpressionContext) Expression(i int) IExpressionContext
- func (s *PowerExpressionContext) GetOp() antlr.Token
- func (s *PowerExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *PowerExpressionContext) SetOp(v antlr.Token)
- type PragmaContext
- func (s *PragmaContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *PragmaContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PragmaContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PragmaContext) GetParser() antlr.Parser
- func (s *PragmaContext) GetRuleContext() antlr.RuleContext
- func (*PragmaContext) IsPragmaContext()
- func (s *PragmaContext) PRAGMA() antlr.TerminalNode
- func (s *PragmaContext) RemainingLineContent() antlr.TerminalNode
- func (s *PragmaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ProgramContext
- func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ProgramContext) AllStatementOrScope() []IStatementOrScopeContext
- func (s *ProgramContext) EOF() antlr.TerminalNode
- func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) GetParser() antlr.Parser
- func (s *ProgramContext) GetRuleContext() antlr.RuleContext
- func (*ProgramContext) IsProgramContext()
- func (s *ProgramContext) StatementOrScope(i int) IStatementOrScopeContext
- func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ProgramContext) Version() IVersionContext
- type QuantumDeclarationStatementContext
- func (s *QuantumDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *QuantumDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QuantumDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QuantumDeclarationStatementContext) GetParser() antlr.Parser
- func (s *QuantumDeclarationStatementContext) GetRuleContext() antlr.RuleContext
- func (s *QuantumDeclarationStatementContext) Identifier() antlr.TerminalNode
- func (*QuantumDeclarationStatementContext) IsQuantumDeclarationStatementContext()
- func (s *QuantumDeclarationStatementContext) QubitType() IQubitTypeContext
- func (s *QuantumDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *QuantumDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type QubitTypeContext
- func (s *QubitTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *QubitTypeContext) Designator() IDesignatorContext
- func (s *QubitTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QubitTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QubitTypeContext) GetParser() antlr.Parser
- func (s *QubitTypeContext) GetRuleContext() antlr.RuleContext
- func (*QubitTypeContext) IsQubitTypeContext()
- func (s *QubitTypeContext) QUBIT() antlr.TerminalNode
- func (s *QubitTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RangeExpressionContext
- func (s *RangeExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RangeExpressionContext) AllCOLON() []antlr.TerminalNode
- func (s *RangeExpressionContext) AllExpression() []IExpressionContext
- func (s *RangeExpressionContext) COLON(i int) antlr.TerminalNode
- func (s *RangeExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RangeExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RangeExpressionContext) Expression(i int) IExpressionContext
- func (s *RangeExpressionContext) GetParser() antlr.Parser
- func (s *RangeExpressionContext) GetRuleContext() antlr.RuleContext
- func (*RangeExpressionContext) IsRangeExpressionContext()
- func (s *RangeExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ResetStatementContext
- func (s *ResetStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ResetStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ResetStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ResetStatementContext) GateOperand() IGateOperandContext
- func (s *ResetStatementContext) GetParser() antlr.Parser
- func (s *ResetStatementContext) GetRuleContext() antlr.RuleContext
- func (*ResetStatementContext) IsResetStatementContext()
- func (s *ResetStatementContext) RESET() antlr.TerminalNode
- func (s *ResetStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ResetStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReturnSignatureContext
- func (s *ReturnSignatureContext) ARROW() antlr.TerminalNode
- func (s *ReturnSignatureContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ReturnSignatureContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ReturnSignatureContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ReturnSignatureContext) GetParser() antlr.Parser
- func (s *ReturnSignatureContext) GetRuleContext() antlr.RuleContext
- func (*ReturnSignatureContext) IsReturnSignatureContext()
- func (s *ReturnSignatureContext) ScalarType() IScalarTypeContext
- func (s *ReturnSignatureContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReturnStatementContext
- func (s *ReturnStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ReturnStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ReturnStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ReturnStatementContext) Expression() IExpressionContext
- func (s *ReturnStatementContext) GetParser() antlr.Parser
- func (s *ReturnStatementContext) GetRuleContext() antlr.RuleContext
- func (*ReturnStatementContext) IsReturnStatementContext()
- func (s *ReturnStatementContext) MeasureExpression() IMeasureExpressionContext
- func (s *ReturnStatementContext) RETURN() antlr.TerminalNode
- func (s *ReturnStatementContext) SEMICOLON() antlr.TerminalNode
- func (s *ReturnStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ScalarTypeContext
- func (s *ScalarTypeContext) ANGLE() antlr.TerminalNode
- func (s *ScalarTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ScalarTypeContext) BIT() antlr.TerminalNode
- func (s *ScalarTypeContext) BOOL() antlr.TerminalNode
- func (s *ScalarTypeContext) COMPLEX() antlr.TerminalNode
- func (s *ScalarTypeContext) DURATION() antlr.TerminalNode
- func (s *ScalarTypeContext) Designator() IDesignatorContext
- func (s *ScalarTypeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ScalarTypeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ScalarTypeContext) FLOAT() antlr.TerminalNode
- func (s *ScalarTypeContext) GetParser() antlr.Parser
- func (s *ScalarTypeContext) GetRuleContext() antlr.RuleContext
- func (s *ScalarTypeContext) INT() antlr.TerminalNode
- func (*ScalarTypeContext) IsScalarTypeContext()
- func (s *ScalarTypeContext) LBRACKET() antlr.TerminalNode
- func (s *ScalarTypeContext) RBRACKET() antlr.TerminalNode
- func (s *ScalarTypeContext) STRETCH() antlr.TerminalNode
- func (s *ScalarTypeContext) ScalarType() IScalarTypeContext
- func (s *ScalarTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ScalarTypeContext) UINT() antlr.TerminalNode
- type ScopeContext
- func (s *ScopeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ScopeContext) AllStatementOrScope() []IStatementOrScopeContext
- func (s *ScopeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ScopeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ScopeContext) GetParser() antlr.Parser
- func (s *ScopeContext) GetRuleContext() antlr.RuleContext
- func (*ScopeContext) IsScopeContext()
- func (s *ScopeContext) LBRACE() antlr.TerminalNode
- func (s *ScopeContext) RBRACE() antlr.TerminalNode
- func (s *ScopeContext) StatementOrScope(i int) IStatementOrScopeContext
- func (s *ScopeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SetExpressionContext
- func (s *SetExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SetExpressionContext) AllCOMMA() []antlr.TerminalNode
- func (s *SetExpressionContext) AllExpression() []IExpressionContext
- func (s *SetExpressionContext) COMMA(i int) antlr.TerminalNode
- func (s *SetExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SetExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SetExpressionContext) Expression(i int) IExpressionContext
- func (s *SetExpressionContext) GetParser() antlr.Parser
- func (s *SetExpressionContext) GetRuleContext() antlr.RuleContext
- func (*SetExpressionContext) IsSetExpressionContext()
- func (s *SetExpressionContext) LBRACE() antlr.TerminalNode
- func (s *SetExpressionContext) RBRACE() antlr.TerminalNode
- func (s *SetExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StatementContext
- func (s *StatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StatementContext) AliasDeclarationStatement() IAliasDeclarationStatementContext
- func (s *StatementContext) AllAnnotation() []IAnnotationContext
- func (s *StatementContext) Annotation(i int) IAnnotationContext
- func (s *StatementContext) AssignmentStatement() IAssignmentStatementContext
- func (s *StatementContext) BarrierStatement() IBarrierStatementContext
- func (s *StatementContext) BoxStatement() IBoxStatementContext
- func (s *StatementContext) BreakStatement() IBreakStatementContext
- func (s *StatementContext) CalStatement() ICalStatementContext
- func (s *StatementContext) CalibrationGrammarStatement() ICalibrationGrammarStatementContext
- func (s *StatementContext) ClassicalDeclarationStatement() IClassicalDeclarationStatementContext
- func (s *StatementContext) ConstDeclarationStatement() IConstDeclarationStatementContext
- func (s *StatementContext) ContinueStatement() IContinueStatementContext
- func (s *StatementContext) DefStatement() IDefStatementContext
- func (s *StatementContext) DefcalStatement() IDefcalStatementContext
- func (s *StatementContext) DelayStatement() IDelayStatementContext
- func (s *StatementContext) EndStatement() IEndStatementContext
- func (s *StatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StatementContext) ExpressionStatement() IExpressionStatementContext
- func (s *StatementContext) ExternStatement() IExternStatementContext
- func (s *StatementContext) ForStatement() IForStatementContext
- func (s *StatementContext) GateCallStatement() IGateCallStatementContext
- func (s *StatementContext) GateStatement() IGateStatementContext
- func (s *StatementContext) GetParser() antlr.Parser
- func (s *StatementContext) GetRuleContext() antlr.RuleContext
- func (s *StatementContext) IfStatement() IIfStatementContext
- func (s *StatementContext) IncludeStatement() IIncludeStatementContext
- func (s *StatementContext) IoDeclarationStatement() IIoDeclarationStatementContext
- func (*StatementContext) IsStatementContext()
- func (s *StatementContext) MeasureArrowAssignmentStatement() IMeasureArrowAssignmentStatementContext
- func (s *StatementContext) OldStyleDeclarationStatement() IOldStyleDeclarationStatementContext
- func (s *StatementContext) Pragma() IPragmaContext
- func (s *StatementContext) QuantumDeclarationStatement() IQuantumDeclarationStatementContext
- func (s *StatementContext) ResetStatement() IResetStatementContext
- func (s *StatementContext) ReturnStatement() IReturnStatementContext
- func (s *StatementContext) SwitchStatement() ISwitchStatementContext
- func (s *StatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StatementContext) WhileStatement() IWhileStatementContext
- type StatementOrScopeContext
- func (s *StatementOrScopeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StatementOrScopeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StatementOrScopeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StatementOrScopeContext) GetParser() antlr.Parser
- func (s *StatementOrScopeContext) GetRuleContext() antlr.RuleContext
- func (*StatementOrScopeContext) IsStatementOrScopeContext()
- func (s *StatementOrScopeContext) Scope() IScopeContext
- func (s *StatementOrScopeContext) Statement() IStatementContext
- func (s *StatementOrScopeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SwitchCaseItemContext
- func (s *SwitchCaseItemContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SwitchCaseItemContext) CASE() antlr.TerminalNode
- func (s *SwitchCaseItemContext) DEFAULT() antlr.TerminalNode
- func (s *SwitchCaseItemContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SwitchCaseItemContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SwitchCaseItemContext) ExpressionList() IExpressionListContext
- func (s *SwitchCaseItemContext) GetParser() antlr.Parser
- func (s *SwitchCaseItemContext) GetRuleContext() antlr.RuleContext
- func (*SwitchCaseItemContext) IsSwitchCaseItemContext()
- func (s *SwitchCaseItemContext) Scope() IScopeContext
- func (s *SwitchCaseItemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SwitchStatementContext
- func (s *SwitchStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SwitchStatementContext) AllSwitchCaseItem() []ISwitchCaseItemContext
- func (s *SwitchStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SwitchStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SwitchStatementContext) Expression() IExpressionContext
- func (s *SwitchStatementContext) GetParser() antlr.Parser
- func (s *SwitchStatementContext) GetRuleContext() antlr.RuleContext
- func (*SwitchStatementContext) IsSwitchStatementContext()
- func (s *SwitchStatementContext) LBRACE() antlr.TerminalNode
- func (s *SwitchStatementContext) LPAREN() antlr.TerminalNode
- func (s *SwitchStatementContext) RBRACE() antlr.TerminalNode
- func (s *SwitchStatementContext) RPAREN() antlr.TerminalNode
- func (s *SwitchStatementContext) SWITCH() antlr.TerminalNode
- func (s *SwitchStatementContext) SwitchCaseItem(i int) ISwitchCaseItemContext
- func (s *SwitchStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UnaryExpressionContext
- func (s *UnaryExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UnaryExpressionContext) EXCLAMATION_POINT() antlr.TerminalNode
- func (s *UnaryExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnaryExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnaryExpressionContext) Expression() IExpressionContext
- func (s *UnaryExpressionContext) GetOp() antlr.Token
- func (s *UnaryExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *UnaryExpressionContext) MINUS() antlr.TerminalNode
- func (s *UnaryExpressionContext) SetOp(v antlr.Token)
- func (s *UnaryExpressionContext) TILDE() antlr.TerminalNode
- type VersionContext
- func (s *VersionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *VersionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VersionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VersionContext) GetParser() antlr.Parser
- func (s *VersionContext) GetRuleContext() antlr.RuleContext
- func (*VersionContext) IsVersionContext()
- func (s *VersionContext) OPENQASM() antlr.TerminalNode
- func (s *VersionContext) SEMICOLON() antlr.TerminalNode
- func (s *VersionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VersionContext) VersionSpecifier() antlr.TerminalNode
- type WhileStatementContext
- func (s *WhileStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *WhileStatementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WhileStatementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WhileStatementContext) Expression() IExpressionContext
- func (s *WhileStatementContext) GetBody() IStatementOrScopeContext
- func (s *WhileStatementContext) GetParser() antlr.Parser
- func (s *WhileStatementContext) GetRuleContext() antlr.RuleContext
- func (*WhileStatementContext) IsWhileStatementContext()
- func (s *WhileStatementContext) LPAREN() antlr.TerminalNode
- func (s *WhileStatementContext) RPAREN() antlr.TerminalNode
- func (s *WhileStatementContext) SetBody(v IStatementOrScopeContext)
- func (s *WhileStatementContext) StatementOrScope() IStatementOrScopeContext
- func (s *WhileStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WhileStatementContext) WHILE() antlr.TerminalNode
Constants ¶
This section is empty.
Variables ¶
var Qasm3LexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var Qasm3ParserParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyAliasDeclarationStatementContext ¶
func InitEmptyAliasDeclarationStatementContext(p *AliasDeclarationStatementContext)
func InitEmptyAliasExpressionContext ¶
func InitEmptyAliasExpressionContext(p *AliasExpressionContext)
func InitEmptyAnnotationContext ¶
func InitEmptyAnnotationContext(p *AnnotationContext)
func InitEmptyArgumentDefinitionContext ¶
func InitEmptyArgumentDefinitionContext(p *ArgumentDefinitionContext)
func InitEmptyArgumentDefinitionListContext ¶
func InitEmptyArgumentDefinitionListContext(p *ArgumentDefinitionListContext)
func InitEmptyArrayLiteralContext ¶
func InitEmptyArrayLiteralContext(p *ArrayLiteralContext)
func InitEmptyArrayReferenceTypeContext ¶
func InitEmptyArrayReferenceTypeContext(p *ArrayReferenceTypeContext)
func InitEmptyArrayTypeContext ¶
func InitEmptyArrayTypeContext(p *ArrayTypeContext)
func InitEmptyAssignmentStatementContext ¶
func InitEmptyAssignmentStatementContext(p *AssignmentStatementContext)
func InitEmptyBarrierStatementContext ¶
func InitEmptyBarrierStatementContext(p *BarrierStatementContext)
func InitEmptyBoxStatementContext ¶
func InitEmptyBoxStatementContext(p *BoxStatementContext)
func InitEmptyBreakStatementContext ¶
func InitEmptyBreakStatementContext(p *BreakStatementContext)
func InitEmptyCalStatementContext ¶
func InitEmptyCalStatementContext(p *CalStatementContext)
func InitEmptyCalibrationGrammarStatementContext ¶
func InitEmptyCalibrationGrammarStatementContext(p *CalibrationGrammarStatementContext)
func InitEmptyClassicalDeclarationStatementContext ¶
func InitEmptyClassicalDeclarationStatementContext(p *ClassicalDeclarationStatementContext)
func InitEmptyConstDeclarationStatementContext ¶
func InitEmptyConstDeclarationStatementContext(p *ConstDeclarationStatementContext)
func InitEmptyContinueStatementContext ¶
func InitEmptyContinueStatementContext(p *ContinueStatementContext)
func InitEmptyDeclarationExpressionContext ¶
func InitEmptyDeclarationExpressionContext(p *DeclarationExpressionContext)
func InitEmptyDefStatementContext ¶
func InitEmptyDefStatementContext(p *DefStatementContext)
func InitEmptyDefcalArgumentDefinitionContext ¶
func InitEmptyDefcalArgumentDefinitionContext(p *DefcalArgumentDefinitionContext)
func InitEmptyDefcalArgumentDefinitionListContext ¶
func InitEmptyDefcalArgumentDefinitionListContext(p *DefcalArgumentDefinitionListContext)
func InitEmptyDefcalOperandContext ¶
func InitEmptyDefcalOperandContext(p *DefcalOperandContext)
func InitEmptyDefcalOperandListContext ¶
func InitEmptyDefcalOperandListContext(p *DefcalOperandListContext)
func InitEmptyDefcalStatementContext ¶
func InitEmptyDefcalStatementContext(p *DefcalStatementContext)
func InitEmptyDefcalTargetContext ¶
func InitEmptyDefcalTargetContext(p *DefcalTargetContext)
func InitEmptyDelayStatementContext ¶
func InitEmptyDelayStatementContext(p *DelayStatementContext)
func InitEmptyDesignatorContext ¶
func InitEmptyDesignatorContext(p *DesignatorContext)
func InitEmptyEndStatementContext ¶
func InitEmptyEndStatementContext(p *EndStatementContext)
func InitEmptyExpressionContext ¶
func InitEmptyExpressionContext(p *ExpressionContext)
func InitEmptyExpressionListContext ¶
func InitEmptyExpressionListContext(p *ExpressionListContext)
func InitEmptyExpressionStatementContext ¶
func InitEmptyExpressionStatementContext(p *ExpressionStatementContext)
func InitEmptyExternArgumentContext ¶
func InitEmptyExternArgumentContext(p *ExternArgumentContext)
func InitEmptyExternArgumentListContext ¶
func InitEmptyExternArgumentListContext(p *ExternArgumentListContext)
func InitEmptyExternStatementContext ¶
func InitEmptyExternStatementContext(p *ExternStatementContext)
func InitEmptyForStatementContext ¶
func InitEmptyForStatementContext(p *ForStatementContext)
func InitEmptyGateCallStatementContext ¶
func InitEmptyGateCallStatementContext(p *GateCallStatementContext)
func InitEmptyGateModifierContext ¶
func InitEmptyGateModifierContext(p *GateModifierContext)
func InitEmptyGateOperandContext ¶
func InitEmptyGateOperandContext(p *GateOperandContext)
func InitEmptyGateOperandListContext ¶
func InitEmptyGateOperandListContext(p *GateOperandListContext)
func InitEmptyGateStatementContext ¶
func InitEmptyGateStatementContext(p *GateStatementContext)
func InitEmptyIdentifierListContext ¶
func InitEmptyIdentifierListContext(p *IdentifierListContext)
func InitEmptyIfStatementContext ¶
func InitEmptyIfStatementContext(p *IfStatementContext)
func InitEmptyIncludeStatementContext ¶
func InitEmptyIncludeStatementContext(p *IncludeStatementContext)
func InitEmptyIndexOperatorContext ¶
func InitEmptyIndexOperatorContext(p *IndexOperatorContext)
func InitEmptyIndexedIdentifierContext ¶
func InitEmptyIndexedIdentifierContext(p *IndexedIdentifierContext)
func InitEmptyIoDeclarationStatementContext ¶
func InitEmptyIoDeclarationStatementContext(p *IoDeclarationStatementContext)
func InitEmptyMeasureArrowAssignmentStatementContext ¶
func InitEmptyMeasureArrowAssignmentStatementContext(p *MeasureArrowAssignmentStatementContext)
func InitEmptyMeasureExpressionContext ¶
func InitEmptyMeasureExpressionContext(p *MeasureExpressionContext)
func InitEmptyOldStyleDeclarationStatementContext ¶
func InitEmptyOldStyleDeclarationStatementContext(p *OldStyleDeclarationStatementContext)
func InitEmptyPragmaContext ¶
func InitEmptyPragmaContext(p *PragmaContext)
func InitEmptyProgramContext ¶
func InitEmptyProgramContext(p *ProgramContext)
func InitEmptyQuantumDeclarationStatementContext ¶
func InitEmptyQuantumDeclarationStatementContext(p *QuantumDeclarationStatementContext)
func InitEmptyQubitTypeContext ¶
func InitEmptyQubitTypeContext(p *QubitTypeContext)
func InitEmptyRangeExpressionContext ¶
func InitEmptyRangeExpressionContext(p *RangeExpressionContext)
func InitEmptyResetStatementContext ¶
func InitEmptyResetStatementContext(p *ResetStatementContext)
func InitEmptyReturnSignatureContext ¶
func InitEmptyReturnSignatureContext(p *ReturnSignatureContext)
func InitEmptyReturnStatementContext ¶
func InitEmptyReturnStatementContext(p *ReturnStatementContext)
func InitEmptyScalarTypeContext ¶
func InitEmptyScalarTypeContext(p *ScalarTypeContext)
func InitEmptyScopeContext ¶
func InitEmptyScopeContext(p *ScopeContext)
func InitEmptySetExpressionContext ¶
func InitEmptySetExpressionContext(p *SetExpressionContext)
func InitEmptyStatementContext ¶
func InitEmptyStatementContext(p *StatementContext)
func InitEmptyStatementOrScopeContext ¶
func InitEmptyStatementOrScopeContext(p *StatementOrScopeContext)
func InitEmptySwitchCaseItemContext ¶
func InitEmptySwitchCaseItemContext(p *SwitchCaseItemContext)
func InitEmptySwitchStatementContext ¶
func InitEmptySwitchStatementContext(p *SwitchStatementContext)
func InitEmptyVersionContext ¶
func InitEmptyVersionContext(p *VersionContext)
func InitEmptyWhileStatementContext ¶
func InitEmptyWhileStatementContext(p *WhileStatementContext)
func Newqasm3Lexer ¶
func Newqasm3Lexer(input antlr.CharStream) *qasm3Lexer
Newqasm3Lexer produces a new lexer instance for the optional input antlr.CharStream.
func Newqasm3Parser ¶
func Newqasm3Parser(input antlr.TokenStream) *qasm3Parser
Newqasm3Parser produces a new parser instance for the optional input antlr.TokenStream.
func Qasm3LexerInit ¶
func Qasm3LexerInit()
qasm3LexerInit initializes any static state used to implement qasm3Lexer. By default the static state used to implement the lexer is lazily initialized during the first call to Newqasm3Lexer(). You can call this function if you wish to initialize the static state ahead of time.
func Qasm3ParserInit ¶
func Qasm3ParserInit()
qasm3ParserInit initializes any static state used to implement qasm3Parser. By default the static state used to implement the parser is lazily initialized during the first call to Newqasm3Parser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AdditiveExpressionContext ¶
type AdditiveExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewAdditiveExpressionContext ¶
func NewAdditiveExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditiveExpressionContext
func (*AdditiveExpressionContext) Accept ¶
func (s *AdditiveExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AdditiveExpressionContext) AllExpression ¶
func (s *AdditiveExpressionContext) AllExpression() []IExpressionContext
func (*AdditiveExpressionContext) EnterRule ¶
func (s *AdditiveExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*AdditiveExpressionContext) ExitRule ¶
func (s *AdditiveExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*AdditiveExpressionContext) Expression ¶
func (s *AdditiveExpressionContext) Expression(i int) IExpressionContext
func (*AdditiveExpressionContext) GetOp ¶
func (s *AdditiveExpressionContext) GetOp() antlr.Token
func (*AdditiveExpressionContext) GetRuleContext ¶
func (s *AdditiveExpressionContext) GetRuleContext() antlr.RuleContext
func (*AdditiveExpressionContext) MINUS ¶
func (s *AdditiveExpressionContext) MINUS() antlr.TerminalNode
func (*AdditiveExpressionContext) PLUS ¶
func (s *AdditiveExpressionContext) PLUS() antlr.TerminalNode
func (*AdditiveExpressionContext) SetOp ¶
func (s *AdditiveExpressionContext) SetOp(v antlr.Token)
type AliasDeclarationStatementContext ¶
type AliasDeclarationStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAliasDeclarationStatementContext ¶
func NewAliasDeclarationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AliasDeclarationStatementContext
func NewEmptyAliasDeclarationStatementContext ¶
func NewEmptyAliasDeclarationStatementContext() *AliasDeclarationStatementContext
func (*AliasDeclarationStatementContext) Accept ¶
func (s *AliasDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AliasDeclarationStatementContext) AliasExpression ¶
func (s *AliasDeclarationStatementContext) AliasExpression() IAliasExpressionContext
func (*AliasDeclarationStatementContext) EQUALS ¶
func (s *AliasDeclarationStatementContext) EQUALS() antlr.TerminalNode
func (*AliasDeclarationStatementContext) EnterRule ¶
func (s *AliasDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*AliasDeclarationStatementContext) ExitRule ¶
func (s *AliasDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*AliasDeclarationStatementContext) GetParser ¶
func (s *AliasDeclarationStatementContext) GetParser() antlr.Parser
func (*AliasDeclarationStatementContext) GetRuleContext ¶
func (s *AliasDeclarationStatementContext) GetRuleContext() antlr.RuleContext
func (*AliasDeclarationStatementContext) Identifier ¶
func (s *AliasDeclarationStatementContext) Identifier() antlr.TerminalNode
func (*AliasDeclarationStatementContext) IsAliasDeclarationStatementContext ¶
func (*AliasDeclarationStatementContext) IsAliasDeclarationStatementContext()
func (*AliasDeclarationStatementContext) LET ¶
func (s *AliasDeclarationStatementContext) LET() antlr.TerminalNode
func (*AliasDeclarationStatementContext) SEMICOLON ¶
func (s *AliasDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
func (*AliasDeclarationStatementContext) ToStringTree ¶
func (s *AliasDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AliasExpressionContext ¶
type AliasExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAliasExpressionContext ¶
func NewAliasExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AliasExpressionContext
func NewEmptyAliasExpressionContext ¶
func NewEmptyAliasExpressionContext() *AliasExpressionContext
func (*AliasExpressionContext) Accept ¶
func (s *AliasExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AliasExpressionContext) AllDOUBLE_PLUS ¶
func (s *AliasExpressionContext) AllDOUBLE_PLUS() []antlr.TerminalNode
func (*AliasExpressionContext) AllExpression ¶
func (s *AliasExpressionContext) AllExpression() []IExpressionContext
func (*AliasExpressionContext) DOUBLE_PLUS ¶
func (s *AliasExpressionContext) DOUBLE_PLUS(i int) antlr.TerminalNode
func (*AliasExpressionContext) EnterRule ¶
func (s *AliasExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*AliasExpressionContext) ExitRule ¶
func (s *AliasExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*AliasExpressionContext) Expression ¶
func (s *AliasExpressionContext) Expression(i int) IExpressionContext
func (*AliasExpressionContext) GetParser ¶
func (s *AliasExpressionContext) GetParser() antlr.Parser
func (*AliasExpressionContext) GetRuleContext ¶
func (s *AliasExpressionContext) GetRuleContext() antlr.RuleContext
func (*AliasExpressionContext) IsAliasExpressionContext ¶
func (*AliasExpressionContext) IsAliasExpressionContext()
func (*AliasExpressionContext) ToStringTree ¶
func (s *AliasExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AnnotationContext ¶
type AnnotationContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAnnotationContext ¶
func NewAnnotationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AnnotationContext
func NewEmptyAnnotationContext ¶
func NewEmptyAnnotationContext() *AnnotationContext
func (*AnnotationContext) Accept ¶
func (s *AnnotationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AnnotationContext) AnnotationKeyword ¶
func (s *AnnotationContext) AnnotationKeyword() antlr.TerminalNode
func (*AnnotationContext) EnterRule ¶
func (s *AnnotationContext) EnterRule(listener antlr.ParseTreeListener)
func (*AnnotationContext) ExitRule ¶
func (s *AnnotationContext) ExitRule(listener antlr.ParseTreeListener)
func (*AnnotationContext) GetParser ¶
func (s *AnnotationContext) GetParser() antlr.Parser
func (*AnnotationContext) GetRuleContext ¶
func (s *AnnotationContext) GetRuleContext() antlr.RuleContext
func (*AnnotationContext) IsAnnotationContext ¶
func (*AnnotationContext) IsAnnotationContext()
func (*AnnotationContext) RemainingLineContent ¶
func (s *AnnotationContext) RemainingLineContent() antlr.TerminalNode
func (*AnnotationContext) ToStringTree ¶
func (s *AnnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgumentDefinitionContext ¶
type ArgumentDefinitionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentDefinitionContext ¶
func NewArgumentDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentDefinitionContext
func NewEmptyArgumentDefinitionContext ¶
func NewEmptyArgumentDefinitionContext() *ArgumentDefinitionContext
func (*ArgumentDefinitionContext) Accept ¶
func (s *ArgumentDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgumentDefinitionContext) ArrayReferenceType ¶
func (s *ArgumentDefinitionContext) ArrayReferenceType() IArrayReferenceTypeContext
func (*ArgumentDefinitionContext) CREG ¶
func (s *ArgumentDefinitionContext) CREG() antlr.TerminalNode
func (*ArgumentDefinitionContext) Designator ¶
func (s *ArgumentDefinitionContext) Designator() IDesignatorContext
func (*ArgumentDefinitionContext) EnterRule ¶
func (s *ArgumentDefinitionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgumentDefinitionContext) ExitRule ¶
func (s *ArgumentDefinitionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgumentDefinitionContext) GetParser ¶
func (s *ArgumentDefinitionContext) GetParser() antlr.Parser
func (*ArgumentDefinitionContext) GetRuleContext ¶
func (s *ArgumentDefinitionContext) GetRuleContext() antlr.RuleContext
func (*ArgumentDefinitionContext) Identifier ¶
func (s *ArgumentDefinitionContext) Identifier() antlr.TerminalNode
func (*ArgumentDefinitionContext) IsArgumentDefinitionContext ¶
func (*ArgumentDefinitionContext) IsArgumentDefinitionContext()
func (*ArgumentDefinitionContext) QREG ¶
func (s *ArgumentDefinitionContext) QREG() antlr.TerminalNode
func (*ArgumentDefinitionContext) QubitType ¶
func (s *ArgumentDefinitionContext) QubitType() IQubitTypeContext
func (*ArgumentDefinitionContext) ScalarType ¶
func (s *ArgumentDefinitionContext) ScalarType() IScalarTypeContext
func (*ArgumentDefinitionContext) ToStringTree ¶
func (s *ArgumentDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgumentDefinitionListContext ¶
type ArgumentDefinitionListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentDefinitionListContext ¶
func NewArgumentDefinitionListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentDefinitionListContext
func NewEmptyArgumentDefinitionListContext ¶
func NewEmptyArgumentDefinitionListContext() *ArgumentDefinitionListContext
func (*ArgumentDefinitionListContext) Accept ¶
func (s *ArgumentDefinitionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgumentDefinitionListContext) AllArgumentDefinition ¶
func (s *ArgumentDefinitionListContext) AllArgumentDefinition() []IArgumentDefinitionContext
func (*ArgumentDefinitionListContext) AllCOMMA ¶
func (s *ArgumentDefinitionListContext) AllCOMMA() []antlr.TerminalNode
func (*ArgumentDefinitionListContext) ArgumentDefinition ¶
func (s *ArgumentDefinitionListContext) ArgumentDefinition(i int) IArgumentDefinitionContext
func (*ArgumentDefinitionListContext) COMMA ¶
func (s *ArgumentDefinitionListContext) COMMA(i int) antlr.TerminalNode
func (*ArgumentDefinitionListContext) EnterRule ¶
func (s *ArgumentDefinitionListContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgumentDefinitionListContext) ExitRule ¶
func (s *ArgumentDefinitionListContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgumentDefinitionListContext) GetParser ¶
func (s *ArgumentDefinitionListContext) GetParser() antlr.Parser
func (*ArgumentDefinitionListContext) GetRuleContext ¶
func (s *ArgumentDefinitionListContext) GetRuleContext() antlr.RuleContext
func (*ArgumentDefinitionListContext) IsArgumentDefinitionListContext ¶
func (*ArgumentDefinitionListContext) IsArgumentDefinitionListContext()
func (*ArgumentDefinitionListContext) ToStringTree ¶
func (s *ArgumentDefinitionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayLiteralContext ¶
type ArrayLiteralContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayLiteralContext ¶
func NewArrayLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayLiteralContext
func NewEmptyArrayLiteralContext ¶
func NewEmptyArrayLiteralContext() *ArrayLiteralContext
func (*ArrayLiteralContext) Accept ¶
func (s *ArrayLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayLiteralContext) AllArrayLiteral ¶
func (s *ArrayLiteralContext) AllArrayLiteral() []IArrayLiteralContext
func (*ArrayLiteralContext) AllCOMMA ¶
func (s *ArrayLiteralContext) AllCOMMA() []antlr.TerminalNode
func (*ArrayLiteralContext) AllExpression ¶
func (s *ArrayLiteralContext) AllExpression() []IExpressionContext
func (*ArrayLiteralContext) ArrayLiteral ¶
func (s *ArrayLiteralContext) ArrayLiteral(i int) IArrayLiteralContext
func (*ArrayLiteralContext) COMMA ¶
func (s *ArrayLiteralContext) COMMA(i int) antlr.TerminalNode
func (*ArrayLiteralContext) EnterRule ¶
func (s *ArrayLiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayLiteralContext) ExitRule ¶
func (s *ArrayLiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayLiteralContext) Expression ¶
func (s *ArrayLiteralContext) Expression(i int) IExpressionContext
func (*ArrayLiteralContext) GetParser ¶
func (s *ArrayLiteralContext) GetParser() antlr.Parser
func (*ArrayLiteralContext) GetRuleContext ¶
func (s *ArrayLiteralContext) GetRuleContext() antlr.RuleContext
func (*ArrayLiteralContext) IsArrayLiteralContext ¶
func (*ArrayLiteralContext) IsArrayLiteralContext()
func (*ArrayLiteralContext) LBRACE ¶
func (s *ArrayLiteralContext) LBRACE() antlr.TerminalNode
func (*ArrayLiteralContext) RBRACE ¶
func (s *ArrayLiteralContext) RBRACE() antlr.TerminalNode
func (*ArrayLiteralContext) ToStringTree ¶
func (s *ArrayLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayReferenceTypeContext ¶
type ArrayReferenceTypeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayReferenceTypeContext ¶
func NewArrayReferenceTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayReferenceTypeContext
func NewEmptyArrayReferenceTypeContext ¶
func NewEmptyArrayReferenceTypeContext() *ArrayReferenceTypeContext
func (*ArrayReferenceTypeContext) ARRAY ¶
func (s *ArrayReferenceTypeContext) ARRAY() antlr.TerminalNode
func (*ArrayReferenceTypeContext) Accept ¶
func (s *ArrayReferenceTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayReferenceTypeContext) COMMA ¶
func (s *ArrayReferenceTypeContext) COMMA() antlr.TerminalNode
func (*ArrayReferenceTypeContext) DIM ¶
func (s *ArrayReferenceTypeContext) DIM() antlr.TerminalNode
func (*ArrayReferenceTypeContext) EQUALS ¶
func (s *ArrayReferenceTypeContext) EQUALS() antlr.TerminalNode
func (*ArrayReferenceTypeContext) EnterRule ¶
func (s *ArrayReferenceTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayReferenceTypeContext) ExitRule ¶
func (s *ArrayReferenceTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayReferenceTypeContext) Expression ¶
func (s *ArrayReferenceTypeContext) Expression() IExpressionContext
func (*ArrayReferenceTypeContext) ExpressionList ¶
func (s *ArrayReferenceTypeContext) ExpressionList() IExpressionListContext
func (*ArrayReferenceTypeContext) GetParser ¶
func (s *ArrayReferenceTypeContext) GetParser() antlr.Parser
func (*ArrayReferenceTypeContext) GetRuleContext ¶
func (s *ArrayReferenceTypeContext) GetRuleContext() antlr.RuleContext
func (*ArrayReferenceTypeContext) IsArrayReferenceTypeContext ¶
func (*ArrayReferenceTypeContext) IsArrayReferenceTypeContext()
func (*ArrayReferenceTypeContext) LBRACKET ¶
func (s *ArrayReferenceTypeContext) LBRACKET() antlr.TerminalNode
func (*ArrayReferenceTypeContext) MUTABLE ¶
func (s *ArrayReferenceTypeContext) MUTABLE() antlr.TerminalNode
func (*ArrayReferenceTypeContext) RBRACKET ¶
func (s *ArrayReferenceTypeContext) RBRACKET() antlr.TerminalNode
func (*ArrayReferenceTypeContext) READONLY ¶
func (s *ArrayReferenceTypeContext) READONLY() antlr.TerminalNode
func (*ArrayReferenceTypeContext) ScalarType ¶
func (s *ArrayReferenceTypeContext) ScalarType() IScalarTypeContext
func (*ArrayReferenceTypeContext) ToStringTree ¶
func (s *ArrayReferenceTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayTypeContext ¶
type ArrayTypeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayTypeContext ¶
func NewArrayTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayTypeContext
func NewEmptyArrayTypeContext ¶
func NewEmptyArrayTypeContext() *ArrayTypeContext
func (*ArrayTypeContext) ARRAY ¶
func (s *ArrayTypeContext) ARRAY() antlr.TerminalNode
func (*ArrayTypeContext) Accept ¶
func (s *ArrayTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayTypeContext) COMMA ¶
func (s *ArrayTypeContext) COMMA() antlr.TerminalNode
func (*ArrayTypeContext) EnterRule ¶
func (s *ArrayTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayTypeContext) ExitRule ¶
func (s *ArrayTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayTypeContext) ExpressionList ¶
func (s *ArrayTypeContext) ExpressionList() IExpressionListContext
func (*ArrayTypeContext) GetParser ¶
func (s *ArrayTypeContext) GetParser() antlr.Parser
func (*ArrayTypeContext) GetRuleContext ¶
func (s *ArrayTypeContext) GetRuleContext() antlr.RuleContext
func (*ArrayTypeContext) IsArrayTypeContext ¶
func (*ArrayTypeContext) IsArrayTypeContext()
func (*ArrayTypeContext) LBRACKET ¶
func (s *ArrayTypeContext) LBRACKET() antlr.TerminalNode
func (*ArrayTypeContext) RBRACKET ¶
func (s *ArrayTypeContext) RBRACKET() antlr.TerminalNode
func (*ArrayTypeContext) ScalarType ¶
func (s *ArrayTypeContext) ScalarType() IScalarTypeContext
func (*ArrayTypeContext) ToStringTree ¶
func (s *ArrayTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AssignmentStatementContext ¶
type AssignmentStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignmentStatementContext ¶
func NewAssignmentStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignmentStatementContext
func NewEmptyAssignmentStatementContext ¶
func NewEmptyAssignmentStatementContext() *AssignmentStatementContext
func (*AssignmentStatementContext) Accept ¶
func (s *AssignmentStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignmentStatementContext) CompoundAssignmentOperator ¶
func (s *AssignmentStatementContext) CompoundAssignmentOperator() antlr.TerminalNode
func (*AssignmentStatementContext) EQUALS ¶
func (s *AssignmentStatementContext) EQUALS() antlr.TerminalNode
func (*AssignmentStatementContext) EnterRule ¶
func (s *AssignmentStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignmentStatementContext) ExitRule ¶
func (s *AssignmentStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignmentStatementContext) Expression ¶
func (s *AssignmentStatementContext) Expression() IExpressionContext
func (*AssignmentStatementContext) GetOp ¶
func (s *AssignmentStatementContext) GetOp() antlr.Token
func (*AssignmentStatementContext) GetParser ¶
func (s *AssignmentStatementContext) GetParser() antlr.Parser
func (*AssignmentStatementContext) GetRuleContext ¶
func (s *AssignmentStatementContext) GetRuleContext() antlr.RuleContext
func (*AssignmentStatementContext) IndexedIdentifier ¶
func (s *AssignmentStatementContext) IndexedIdentifier() IIndexedIdentifierContext
func (*AssignmentStatementContext) IsAssignmentStatementContext ¶
func (*AssignmentStatementContext) IsAssignmentStatementContext()
func (*AssignmentStatementContext) MeasureExpression ¶
func (s *AssignmentStatementContext) MeasureExpression() IMeasureExpressionContext
func (*AssignmentStatementContext) SEMICOLON ¶
func (s *AssignmentStatementContext) SEMICOLON() antlr.TerminalNode
func (*AssignmentStatementContext) SetOp ¶
func (s *AssignmentStatementContext) SetOp(v antlr.Token)
func (*AssignmentStatementContext) ToStringTree ¶
func (s *AssignmentStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BarrierStatementContext ¶
type BarrierStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBarrierStatementContext ¶
func NewBarrierStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BarrierStatementContext
func NewEmptyBarrierStatementContext ¶
func NewEmptyBarrierStatementContext() *BarrierStatementContext
func (*BarrierStatementContext) Accept ¶
func (s *BarrierStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BarrierStatementContext) BARRIER ¶
func (s *BarrierStatementContext) BARRIER() antlr.TerminalNode
func (*BarrierStatementContext) EnterRule ¶
func (s *BarrierStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*BarrierStatementContext) ExitRule ¶
func (s *BarrierStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*BarrierStatementContext) GateOperandList ¶
func (s *BarrierStatementContext) GateOperandList() IGateOperandListContext
func (*BarrierStatementContext) GetParser ¶
func (s *BarrierStatementContext) GetParser() antlr.Parser
func (*BarrierStatementContext) GetRuleContext ¶
func (s *BarrierStatementContext) GetRuleContext() antlr.RuleContext
func (*BarrierStatementContext) IsBarrierStatementContext ¶
func (*BarrierStatementContext) IsBarrierStatementContext()
func (*BarrierStatementContext) SEMICOLON ¶
func (s *BarrierStatementContext) SEMICOLON() antlr.TerminalNode
func (*BarrierStatementContext) ToStringTree ¶
func (s *BarrierStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Baseqasm3ParserListener ¶
type Baseqasm3ParserListener struct{}
Baseqasm3ParserListener is a complete listener for a parse tree produced by qasm3Parser.
func (*Baseqasm3ParserListener) EnterAdditiveExpression ¶
func (s *Baseqasm3ParserListener) EnterAdditiveExpression(ctx *AdditiveExpressionContext)
EnterAdditiveExpression is called when production additiveExpression is entered.
func (*Baseqasm3ParserListener) EnterAliasDeclarationStatement ¶
func (s *Baseqasm3ParserListener) EnterAliasDeclarationStatement(ctx *AliasDeclarationStatementContext)
EnterAliasDeclarationStatement is called when production aliasDeclarationStatement is entered.
func (*Baseqasm3ParserListener) EnterAliasExpression ¶
func (s *Baseqasm3ParserListener) EnterAliasExpression(ctx *AliasExpressionContext)
EnterAliasExpression is called when production aliasExpression is entered.
func (*Baseqasm3ParserListener) EnterAnnotation ¶
func (s *Baseqasm3ParserListener) EnterAnnotation(ctx *AnnotationContext)
EnterAnnotation is called when production annotation is entered.
func (*Baseqasm3ParserListener) EnterArgumentDefinition ¶
func (s *Baseqasm3ParserListener) EnterArgumentDefinition(ctx *ArgumentDefinitionContext)
EnterArgumentDefinition is called when production argumentDefinition is entered.
func (*Baseqasm3ParserListener) EnterArgumentDefinitionList ¶
func (s *Baseqasm3ParserListener) EnterArgumentDefinitionList(ctx *ArgumentDefinitionListContext)
EnterArgumentDefinitionList is called when production argumentDefinitionList is entered.
func (*Baseqasm3ParserListener) EnterArrayLiteral ¶
func (s *Baseqasm3ParserListener) EnterArrayLiteral(ctx *ArrayLiteralContext)
EnterArrayLiteral is called when production arrayLiteral is entered.
func (*Baseqasm3ParserListener) EnterArrayReferenceType ¶
func (s *Baseqasm3ParserListener) EnterArrayReferenceType(ctx *ArrayReferenceTypeContext)
EnterArrayReferenceType is called when production arrayReferenceType is entered.
func (*Baseqasm3ParserListener) EnterArrayType ¶
func (s *Baseqasm3ParserListener) EnterArrayType(ctx *ArrayTypeContext)
EnterArrayType is called when production arrayType is entered.
func (*Baseqasm3ParserListener) EnterAssignmentStatement ¶
func (s *Baseqasm3ParserListener) EnterAssignmentStatement(ctx *AssignmentStatementContext)
EnterAssignmentStatement is called when production assignmentStatement is entered.
func (*Baseqasm3ParserListener) EnterBarrierStatement ¶
func (s *Baseqasm3ParserListener) EnterBarrierStatement(ctx *BarrierStatementContext)
EnterBarrierStatement is called when production barrierStatement is entered.
func (*Baseqasm3ParserListener) EnterBitshiftExpression ¶
func (s *Baseqasm3ParserListener) EnterBitshiftExpression(ctx *BitshiftExpressionContext)
EnterBitshiftExpression is called when production bitshiftExpression is entered.
func (*Baseqasm3ParserListener) EnterBitwiseAndExpression ¶
func (s *Baseqasm3ParserListener) EnterBitwiseAndExpression(ctx *BitwiseAndExpressionContext)
EnterBitwiseAndExpression is called when production bitwiseAndExpression is entered.
func (*Baseqasm3ParserListener) EnterBitwiseOrExpression ¶
func (s *Baseqasm3ParserListener) EnterBitwiseOrExpression(ctx *BitwiseOrExpressionContext)
EnterBitwiseOrExpression is called when production bitwiseOrExpression is entered.
func (*Baseqasm3ParserListener) EnterBitwiseXorExpression ¶
func (s *Baseqasm3ParserListener) EnterBitwiseXorExpression(ctx *BitwiseXorExpressionContext)
EnterBitwiseXorExpression is called when production bitwiseXorExpression is entered.
func (*Baseqasm3ParserListener) EnterBoxStatement ¶
func (s *Baseqasm3ParserListener) EnterBoxStatement(ctx *BoxStatementContext)
EnterBoxStatement is called when production boxStatement is entered.
func (*Baseqasm3ParserListener) EnterBreakStatement ¶
func (s *Baseqasm3ParserListener) EnterBreakStatement(ctx *BreakStatementContext)
EnterBreakStatement is called when production breakStatement is entered.
func (*Baseqasm3ParserListener) EnterCalStatement ¶
func (s *Baseqasm3ParserListener) EnterCalStatement(ctx *CalStatementContext)
EnterCalStatement is called when production calStatement is entered.
func (*Baseqasm3ParserListener) EnterCalibrationGrammarStatement ¶
func (s *Baseqasm3ParserListener) EnterCalibrationGrammarStatement(ctx *CalibrationGrammarStatementContext)
EnterCalibrationGrammarStatement is called when production calibrationGrammarStatement is entered.
func (*Baseqasm3ParserListener) EnterCallExpression ¶
func (s *Baseqasm3ParserListener) EnterCallExpression(ctx *CallExpressionContext)
EnterCallExpression is called when production callExpression is entered.
func (*Baseqasm3ParserListener) EnterCastExpression ¶
func (s *Baseqasm3ParserListener) EnterCastExpression(ctx *CastExpressionContext)
EnterCastExpression is called when production castExpression is entered.
func (*Baseqasm3ParserListener) EnterClassicalDeclarationStatement ¶
func (s *Baseqasm3ParserListener) EnterClassicalDeclarationStatement(ctx *ClassicalDeclarationStatementContext)
EnterClassicalDeclarationStatement is called when production classicalDeclarationStatement is entered.
func (*Baseqasm3ParserListener) EnterComparisonExpression ¶
func (s *Baseqasm3ParserListener) EnterComparisonExpression(ctx *ComparisonExpressionContext)
EnterComparisonExpression is called when production comparisonExpression is entered.
func (*Baseqasm3ParserListener) EnterConstDeclarationStatement ¶
func (s *Baseqasm3ParserListener) EnterConstDeclarationStatement(ctx *ConstDeclarationStatementContext)
EnterConstDeclarationStatement is called when production constDeclarationStatement is entered.
func (*Baseqasm3ParserListener) EnterContinueStatement ¶
func (s *Baseqasm3ParserListener) EnterContinueStatement(ctx *ContinueStatementContext)
EnterContinueStatement is called when production continueStatement is entered.
func (*Baseqasm3ParserListener) EnterDeclarationExpression ¶
func (s *Baseqasm3ParserListener) EnterDeclarationExpression(ctx *DeclarationExpressionContext)
EnterDeclarationExpression is called when production declarationExpression is entered.
func (*Baseqasm3ParserListener) EnterDefStatement ¶
func (s *Baseqasm3ParserListener) EnterDefStatement(ctx *DefStatementContext)
EnterDefStatement is called when production defStatement is entered.
func (*Baseqasm3ParserListener) EnterDefcalArgumentDefinition ¶
func (s *Baseqasm3ParserListener) EnterDefcalArgumentDefinition(ctx *DefcalArgumentDefinitionContext)
EnterDefcalArgumentDefinition is called when production defcalArgumentDefinition is entered.
func (*Baseqasm3ParserListener) EnterDefcalArgumentDefinitionList ¶
func (s *Baseqasm3ParserListener) EnterDefcalArgumentDefinitionList(ctx *DefcalArgumentDefinitionListContext)
EnterDefcalArgumentDefinitionList is called when production defcalArgumentDefinitionList is entered.
func (*Baseqasm3ParserListener) EnterDefcalOperand ¶
func (s *Baseqasm3ParserListener) EnterDefcalOperand(ctx *DefcalOperandContext)
EnterDefcalOperand is called when production defcalOperand is entered.
func (*Baseqasm3ParserListener) EnterDefcalOperandList ¶
func (s *Baseqasm3ParserListener) EnterDefcalOperandList(ctx *DefcalOperandListContext)
EnterDefcalOperandList is called when production defcalOperandList is entered.
func (*Baseqasm3ParserListener) EnterDefcalStatement ¶
func (s *Baseqasm3ParserListener) EnterDefcalStatement(ctx *DefcalStatementContext)
EnterDefcalStatement is called when production defcalStatement is entered.
func (*Baseqasm3ParserListener) EnterDefcalTarget ¶
func (s *Baseqasm3ParserListener) EnterDefcalTarget(ctx *DefcalTargetContext)
EnterDefcalTarget is called when production defcalTarget is entered.
func (*Baseqasm3ParserListener) EnterDelayStatement ¶
func (s *Baseqasm3ParserListener) EnterDelayStatement(ctx *DelayStatementContext)
EnterDelayStatement is called when production delayStatement is entered.
func (*Baseqasm3ParserListener) EnterDesignator ¶
func (s *Baseqasm3ParserListener) EnterDesignator(ctx *DesignatorContext)
EnterDesignator is called when production designator is entered.
func (*Baseqasm3ParserListener) EnterDurationofExpression ¶
func (s *Baseqasm3ParserListener) EnterDurationofExpression(ctx *DurationofExpressionContext)
EnterDurationofExpression is called when production durationofExpression is entered.
func (*Baseqasm3ParserListener) EnterEndStatement ¶
func (s *Baseqasm3ParserListener) EnterEndStatement(ctx *EndStatementContext)
EnterEndStatement is called when production endStatement is entered.
func (*Baseqasm3ParserListener) EnterEqualityExpression ¶
func (s *Baseqasm3ParserListener) EnterEqualityExpression(ctx *EqualityExpressionContext)
EnterEqualityExpression is called when production equalityExpression is entered.
func (*Baseqasm3ParserListener) EnterEveryRule ¶
func (s *Baseqasm3ParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*Baseqasm3ParserListener) EnterExpressionList ¶
func (s *Baseqasm3ParserListener) EnterExpressionList(ctx *ExpressionListContext)
EnterExpressionList is called when production expressionList is entered.
func (*Baseqasm3ParserListener) EnterExpressionStatement ¶
func (s *Baseqasm3ParserListener) EnterExpressionStatement(ctx *ExpressionStatementContext)
EnterExpressionStatement is called when production expressionStatement is entered.
func (*Baseqasm3ParserListener) EnterExternArgument ¶
func (s *Baseqasm3ParserListener) EnterExternArgument(ctx *ExternArgumentContext)
EnterExternArgument is called when production externArgument is entered.
func (*Baseqasm3ParserListener) EnterExternArgumentList ¶
func (s *Baseqasm3ParserListener) EnterExternArgumentList(ctx *ExternArgumentListContext)
EnterExternArgumentList is called when production externArgumentList is entered.
func (*Baseqasm3ParserListener) EnterExternStatement ¶
func (s *Baseqasm3ParserListener) EnterExternStatement(ctx *ExternStatementContext)
EnterExternStatement is called when production externStatement is entered.
func (*Baseqasm3ParserListener) EnterForStatement ¶
func (s *Baseqasm3ParserListener) EnterForStatement(ctx *ForStatementContext)
EnterForStatement is called when production forStatement is entered.
func (*Baseqasm3ParserListener) EnterGateCallStatement ¶
func (s *Baseqasm3ParserListener) EnterGateCallStatement(ctx *GateCallStatementContext)
EnterGateCallStatement is called when production gateCallStatement is entered.
func (*Baseqasm3ParserListener) EnterGateModifier ¶
func (s *Baseqasm3ParserListener) EnterGateModifier(ctx *GateModifierContext)
EnterGateModifier is called when production gateModifier is entered.
func (*Baseqasm3ParserListener) EnterGateOperand ¶
func (s *Baseqasm3ParserListener) EnterGateOperand(ctx *GateOperandContext)
EnterGateOperand is called when production gateOperand is entered.
func (*Baseqasm3ParserListener) EnterGateOperandList ¶
func (s *Baseqasm3ParserListener) EnterGateOperandList(ctx *GateOperandListContext)
EnterGateOperandList is called when production gateOperandList is entered.
func (*Baseqasm3ParserListener) EnterGateStatement ¶
func (s *Baseqasm3ParserListener) EnterGateStatement(ctx *GateStatementContext)
EnterGateStatement is called when production gateStatement is entered.
func (*Baseqasm3ParserListener) EnterIdentifierList ¶
func (s *Baseqasm3ParserListener) EnterIdentifierList(ctx *IdentifierListContext)
EnterIdentifierList is called when production identifierList is entered.
func (*Baseqasm3ParserListener) EnterIfStatement ¶
func (s *Baseqasm3ParserListener) EnterIfStatement(ctx *IfStatementContext)
EnterIfStatement is called when production ifStatement is entered.
func (*Baseqasm3ParserListener) EnterIncludeStatement ¶
func (s *Baseqasm3ParserListener) EnterIncludeStatement(ctx *IncludeStatementContext)
EnterIncludeStatement is called when production includeStatement is entered.
func (*Baseqasm3ParserListener) EnterIndexExpression ¶
func (s *Baseqasm3ParserListener) EnterIndexExpression(ctx *IndexExpressionContext)
EnterIndexExpression is called when production indexExpression is entered.
func (*Baseqasm3ParserListener) EnterIndexOperator ¶
func (s *Baseqasm3ParserListener) EnterIndexOperator(ctx *IndexOperatorContext)
EnterIndexOperator is called when production indexOperator is entered.
func (*Baseqasm3ParserListener) EnterIndexedIdentifier ¶
func (s *Baseqasm3ParserListener) EnterIndexedIdentifier(ctx *IndexedIdentifierContext)
EnterIndexedIdentifier is called when production indexedIdentifier is entered.
func (*Baseqasm3ParserListener) EnterIoDeclarationStatement ¶
func (s *Baseqasm3ParserListener) EnterIoDeclarationStatement(ctx *IoDeclarationStatementContext)
EnterIoDeclarationStatement is called when production ioDeclarationStatement is entered.
func (*Baseqasm3ParserListener) EnterLiteralExpression ¶
func (s *Baseqasm3ParserListener) EnterLiteralExpression(ctx *LiteralExpressionContext)
EnterLiteralExpression is called when production literalExpression is entered.
func (*Baseqasm3ParserListener) EnterLogicalAndExpression ¶
func (s *Baseqasm3ParserListener) EnterLogicalAndExpression(ctx *LogicalAndExpressionContext)
EnterLogicalAndExpression is called when production logicalAndExpression is entered.
func (*Baseqasm3ParserListener) EnterLogicalOrExpression ¶
func (s *Baseqasm3ParserListener) EnterLogicalOrExpression(ctx *LogicalOrExpressionContext)
EnterLogicalOrExpression is called when production logicalOrExpression is entered.
func (*Baseqasm3ParserListener) EnterMeasureArrowAssignmentStatement ¶
func (s *Baseqasm3ParserListener) EnterMeasureArrowAssignmentStatement(ctx *MeasureArrowAssignmentStatementContext)
EnterMeasureArrowAssignmentStatement is called when production measureArrowAssignmentStatement is entered.
func (*Baseqasm3ParserListener) EnterMeasureExpression ¶
func (s *Baseqasm3ParserListener) EnterMeasureExpression(ctx *MeasureExpressionContext)
EnterMeasureExpression is called when production measureExpression is entered.
func (*Baseqasm3ParserListener) EnterMultiplicativeExpression ¶
func (s *Baseqasm3ParserListener) EnterMultiplicativeExpression(ctx *MultiplicativeExpressionContext)
EnterMultiplicativeExpression is called when production multiplicativeExpression is entered.
func (*Baseqasm3ParserListener) EnterOldStyleDeclarationStatement ¶
func (s *Baseqasm3ParserListener) EnterOldStyleDeclarationStatement(ctx *OldStyleDeclarationStatementContext)
EnterOldStyleDeclarationStatement is called when production oldStyleDeclarationStatement is entered.
func (*Baseqasm3ParserListener) EnterParenthesisExpression ¶
func (s *Baseqasm3ParserListener) EnterParenthesisExpression(ctx *ParenthesisExpressionContext)
EnterParenthesisExpression is called when production parenthesisExpression is entered.
func (*Baseqasm3ParserListener) EnterPowerExpression ¶
func (s *Baseqasm3ParserListener) EnterPowerExpression(ctx *PowerExpressionContext)
EnterPowerExpression is called when production powerExpression is entered.
func (*Baseqasm3ParserListener) EnterPragma ¶
func (s *Baseqasm3ParserListener) EnterPragma(ctx *PragmaContext)
EnterPragma is called when production pragma is entered.
func (*Baseqasm3ParserListener) EnterProgram ¶
func (s *Baseqasm3ParserListener) EnterProgram(ctx *ProgramContext)
EnterProgram is called when production program is entered.
func (*Baseqasm3ParserListener) EnterQuantumDeclarationStatement ¶
func (s *Baseqasm3ParserListener) EnterQuantumDeclarationStatement(ctx *QuantumDeclarationStatementContext)
EnterQuantumDeclarationStatement is called when production quantumDeclarationStatement is entered.
func (*Baseqasm3ParserListener) EnterQubitType ¶
func (s *Baseqasm3ParserListener) EnterQubitType(ctx *QubitTypeContext)
EnterQubitType is called when production qubitType is entered.
func (*Baseqasm3ParserListener) EnterRangeExpression ¶
func (s *Baseqasm3ParserListener) EnterRangeExpression(ctx *RangeExpressionContext)
EnterRangeExpression is called when production rangeExpression is entered.
func (*Baseqasm3ParserListener) EnterResetStatement ¶
func (s *Baseqasm3ParserListener) EnterResetStatement(ctx *ResetStatementContext)
EnterResetStatement is called when production resetStatement is entered.
func (*Baseqasm3ParserListener) EnterReturnSignature ¶
func (s *Baseqasm3ParserListener) EnterReturnSignature(ctx *ReturnSignatureContext)
EnterReturnSignature is called when production returnSignature is entered.
func (*Baseqasm3ParserListener) EnterReturnStatement ¶
func (s *Baseqasm3ParserListener) EnterReturnStatement(ctx *ReturnStatementContext)
EnterReturnStatement is called when production returnStatement is entered.
func (*Baseqasm3ParserListener) EnterScalarType ¶
func (s *Baseqasm3ParserListener) EnterScalarType(ctx *ScalarTypeContext)
EnterScalarType is called when production scalarType is entered.
func (*Baseqasm3ParserListener) EnterScope ¶
func (s *Baseqasm3ParserListener) EnterScope(ctx *ScopeContext)
EnterScope is called when production scope is entered.
func (*Baseqasm3ParserListener) EnterSetExpression ¶
func (s *Baseqasm3ParserListener) EnterSetExpression(ctx *SetExpressionContext)
EnterSetExpression is called when production setExpression is entered.
func (*Baseqasm3ParserListener) EnterStatement ¶
func (s *Baseqasm3ParserListener) EnterStatement(ctx *StatementContext)
EnterStatement is called when production statement is entered.
func (*Baseqasm3ParserListener) EnterStatementOrScope ¶
func (s *Baseqasm3ParserListener) EnterStatementOrScope(ctx *StatementOrScopeContext)
EnterStatementOrScope is called when production statementOrScope is entered.
func (*Baseqasm3ParserListener) EnterSwitchCaseItem ¶
func (s *Baseqasm3ParserListener) EnterSwitchCaseItem(ctx *SwitchCaseItemContext)
EnterSwitchCaseItem is called when production switchCaseItem is entered.
func (*Baseqasm3ParserListener) EnterSwitchStatement ¶
func (s *Baseqasm3ParserListener) EnterSwitchStatement(ctx *SwitchStatementContext)
EnterSwitchStatement is called when production switchStatement is entered.
func (*Baseqasm3ParserListener) EnterUnaryExpression ¶
func (s *Baseqasm3ParserListener) EnterUnaryExpression(ctx *UnaryExpressionContext)
EnterUnaryExpression is called when production unaryExpression is entered.
func (*Baseqasm3ParserListener) EnterVersion ¶
func (s *Baseqasm3ParserListener) EnterVersion(ctx *VersionContext)
EnterVersion is called when production version is entered.
func (*Baseqasm3ParserListener) EnterWhileStatement ¶
func (s *Baseqasm3ParserListener) EnterWhileStatement(ctx *WhileStatementContext)
EnterWhileStatement is called when production whileStatement is entered.
func (*Baseqasm3ParserListener) ExitAdditiveExpression ¶
func (s *Baseqasm3ParserListener) ExitAdditiveExpression(ctx *AdditiveExpressionContext)
ExitAdditiveExpression is called when production additiveExpression is exited.
func (*Baseqasm3ParserListener) ExitAliasDeclarationStatement ¶
func (s *Baseqasm3ParserListener) ExitAliasDeclarationStatement(ctx *AliasDeclarationStatementContext)
ExitAliasDeclarationStatement is called when production aliasDeclarationStatement is exited.
func (*Baseqasm3ParserListener) ExitAliasExpression ¶
func (s *Baseqasm3ParserListener) ExitAliasExpression(ctx *AliasExpressionContext)
ExitAliasExpression is called when production aliasExpression is exited.
func (*Baseqasm3ParserListener) ExitAnnotation ¶
func (s *Baseqasm3ParserListener) ExitAnnotation(ctx *AnnotationContext)
ExitAnnotation is called when production annotation is exited.
func (*Baseqasm3ParserListener) ExitArgumentDefinition ¶
func (s *Baseqasm3ParserListener) ExitArgumentDefinition(ctx *ArgumentDefinitionContext)
ExitArgumentDefinition is called when production argumentDefinition is exited.
func (*Baseqasm3ParserListener) ExitArgumentDefinitionList ¶
func (s *Baseqasm3ParserListener) ExitArgumentDefinitionList(ctx *ArgumentDefinitionListContext)
ExitArgumentDefinitionList is called when production argumentDefinitionList is exited.
func (*Baseqasm3ParserListener) ExitArrayLiteral ¶
func (s *Baseqasm3ParserListener) ExitArrayLiteral(ctx *ArrayLiteralContext)
ExitArrayLiteral is called when production arrayLiteral is exited.
func (*Baseqasm3ParserListener) ExitArrayReferenceType ¶
func (s *Baseqasm3ParserListener) ExitArrayReferenceType(ctx *ArrayReferenceTypeContext)
ExitArrayReferenceType is called when production arrayReferenceType is exited.
func (*Baseqasm3ParserListener) ExitArrayType ¶
func (s *Baseqasm3ParserListener) ExitArrayType(ctx *ArrayTypeContext)
ExitArrayType is called when production arrayType is exited.
func (*Baseqasm3ParserListener) ExitAssignmentStatement ¶
func (s *Baseqasm3ParserListener) ExitAssignmentStatement(ctx *AssignmentStatementContext)
ExitAssignmentStatement is called when production assignmentStatement is exited.
func (*Baseqasm3ParserListener) ExitBarrierStatement ¶
func (s *Baseqasm3ParserListener) ExitBarrierStatement(ctx *BarrierStatementContext)
ExitBarrierStatement is called when production barrierStatement is exited.
func (*Baseqasm3ParserListener) ExitBitshiftExpression ¶
func (s *Baseqasm3ParserListener) ExitBitshiftExpression(ctx *BitshiftExpressionContext)
ExitBitshiftExpression is called when production bitshiftExpression is exited.
func (*Baseqasm3ParserListener) ExitBitwiseAndExpression ¶
func (s *Baseqasm3ParserListener) ExitBitwiseAndExpression(ctx *BitwiseAndExpressionContext)
ExitBitwiseAndExpression is called when production bitwiseAndExpression is exited.
func (*Baseqasm3ParserListener) ExitBitwiseOrExpression ¶
func (s *Baseqasm3ParserListener) ExitBitwiseOrExpression(ctx *BitwiseOrExpressionContext)
ExitBitwiseOrExpression is called when production bitwiseOrExpression is exited.
func (*Baseqasm3ParserListener) ExitBitwiseXorExpression ¶
func (s *Baseqasm3ParserListener) ExitBitwiseXorExpression(ctx *BitwiseXorExpressionContext)
ExitBitwiseXorExpression is called when production bitwiseXorExpression is exited.
func (*Baseqasm3ParserListener) ExitBoxStatement ¶
func (s *Baseqasm3ParserListener) ExitBoxStatement(ctx *BoxStatementContext)
ExitBoxStatement is called when production boxStatement is exited.
func (*Baseqasm3ParserListener) ExitBreakStatement ¶
func (s *Baseqasm3ParserListener) ExitBreakStatement(ctx *BreakStatementContext)
ExitBreakStatement is called when production breakStatement is exited.
func (*Baseqasm3ParserListener) ExitCalStatement ¶
func (s *Baseqasm3ParserListener) ExitCalStatement(ctx *CalStatementContext)
ExitCalStatement is called when production calStatement is exited.
func (*Baseqasm3ParserListener) ExitCalibrationGrammarStatement ¶
func (s *Baseqasm3ParserListener) ExitCalibrationGrammarStatement(ctx *CalibrationGrammarStatementContext)
ExitCalibrationGrammarStatement is called when production calibrationGrammarStatement is exited.
func (*Baseqasm3ParserListener) ExitCallExpression ¶
func (s *Baseqasm3ParserListener) ExitCallExpression(ctx *CallExpressionContext)
ExitCallExpression is called when production callExpression is exited.
func (*Baseqasm3ParserListener) ExitCastExpression ¶
func (s *Baseqasm3ParserListener) ExitCastExpression(ctx *CastExpressionContext)
ExitCastExpression is called when production castExpression is exited.
func (*Baseqasm3ParserListener) ExitClassicalDeclarationStatement ¶
func (s *Baseqasm3ParserListener) ExitClassicalDeclarationStatement(ctx *ClassicalDeclarationStatementContext)
ExitClassicalDeclarationStatement is called when production classicalDeclarationStatement is exited.
func (*Baseqasm3ParserListener) ExitComparisonExpression ¶
func (s *Baseqasm3ParserListener) ExitComparisonExpression(ctx *ComparisonExpressionContext)
ExitComparisonExpression is called when production comparisonExpression is exited.
func (*Baseqasm3ParserListener) ExitConstDeclarationStatement ¶
func (s *Baseqasm3ParserListener) ExitConstDeclarationStatement(ctx *ConstDeclarationStatementContext)
ExitConstDeclarationStatement is called when production constDeclarationStatement is exited.
func (*Baseqasm3ParserListener) ExitContinueStatement ¶
func (s *Baseqasm3ParserListener) ExitContinueStatement(ctx *ContinueStatementContext)
ExitContinueStatement is called when production continueStatement is exited.
func (*Baseqasm3ParserListener) ExitDeclarationExpression ¶
func (s *Baseqasm3ParserListener) ExitDeclarationExpression(ctx *DeclarationExpressionContext)
ExitDeclarationExpression is called when production declarationExpression is exited.
func (*Baseqasm3ParserListener) ExitDefStatement ¶
func (s *Baseqasm3ParserListener) ExitDefStatement(ctx *DefStatementContext)
ExitDefStatement is called when production defStatement is exited.
func (*Baseqasm3ParserListener) ExitDefcalArgumentDefinition ¶
func (s *Baseqasm3ParserListener) ExitDefcalArgumentDefinition(ctx *DefcalArgumentDefinitionContext)
ExitDefcalArgumentDefinition is called when production defcalArgumentDefinition is exited.
func (*Baseqasm3ParserListener) ExitDefcalArgumentDefinitionList ¶
func (s *Baseqasm3ParserListener) ExitDefcalArgumentDefinitionList(ctx *DefcalArgumentDefinitionListContext)
ExitDefcalArgumentDefinitionList is called when production defcalArgumentDefinitionList is exited.
func (*Baseqasm3ParserListener) ExitDefcalOperand ¶
func (s *Baseqasm3ParserListener) ExitDefcalOperand(ctx *DefcalOperandContext)
ExitDefcalOperand is called when production defcalOperand is exited.
func (*Baseqasm3ParserListener) ExitDefcalOperandList ¶
func (s *Baseqasm3ParserListener) ExitDefcalOperandList(ctx *DefcalOperandListContext)
ExitDefcalOperandList is called when production defcalOperandList is exited.
func (*Baseqasm3ParserListener) ExitDefcalStatement ¶
func (s *Baseqasm3ParserListener) ExitDefcalStatement(ctx *DefcalStatementContext)
ExitDefcalStatement is called when production defcalStatement is exited.
func (*Baseqasm3ParserListener) ExitDefcalTarget ¶
func (s *Baseqasm3ParserListener) ExitDefcalTarget(ctx *DefcalTargetContext)
ExitDefcalTarget is called when production defcalTarget is exited.
func (*Baseqasm3ParserListener) ExitDelayStatement ¶
func (s *Baseqasm3ParserListener) ExitDelayStatement(ctx *DelayStatementContext)
ExitDelayStatement is called when production delayStatement is exited.
func (*Baseqasm3ParserListener) ExitDesignator ¶
func (s *Baseqasm3ParserListener) ExitDesignator(ctx *DesignatorContext)
ExitDesignator is called when production designator is exited.
func (*Baseqasm3ParserListener) ExitDurationofExpression ¶
func (s *Baseqasm3ParserListener) ExitDurationofExpression(ctx *DurationofExpressionContext)
ExitDurationofExpression is called when production durationofExpression is exited.
func (*Baseqasm3ParserListener) ExitEndStatement ¶
func (s *Baseqasm3ParserListener) ExitEndStatement(ctx *EndStatementContext)
ExitEndStatement is called when production endStatement is exited.
func (*Baseqasm3ParserListener) ExitEqualityExpression ¶
func (s *Baseqasm3ParserListener) ExitEqualityExpression(ctx *EqualityExpressionContext)
ExitEqualityExpression is called when production equalityExpression is exited.
func (*Baseqasm3ParserListener) ExitEveryRule ¶
func (s *Baseqasm3ParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*Baseqasm3ParserListener) ExitExpressionList ¶
func (s *Baseqasm3ParserListener) ExitExpressionList(ctx *ExpressionListContext)
ExitExpressionList is called when production expressionList is exited.
func (*Baseqasm3ParserListener) ExitExpressionStatement ¶
func (s *Baseqasm3ParserListener) ExitExpressionStatement(ctx *ExpressionStatementContext)
ExitExpressionStatement is called when production expressionStatement is exited.
func (*Baseqasm3ParserListener) ExitExternArgument ¶
func (s *Baseqasm3ParserListener) ExitExternArgument(ctx *ExternArgumentContext)
ExitExternArgument is called when production externArgument is exited.
func (*Baseqasm3ParserListener) ExitExternArgumentList ¶
func (s *Baseqasm3ParserListener) ExitExternArgumentList(ctx *ExternArgumentListContext)
ExitExternArgumentList is called when production externArgumentList is exited.
func (*Baseqasm3ParserListener) ExitExternStatement ¶
func (s *Baseqasm3ParserListener) ExitExternStatement(ctx *ExternStatementContext)
ExitExternStatement is called when production externStatement is exited.
func (*Baseqasm3ParserListener) ExitForStatement ¶
func (s *Baseqasm3ParserListener) ExitForStatement(ctx *ForStatementContext)
ExitForStatement is called when production forStatement is exited.
func (*Baseqasm3ParserListener) ExitGateCallStatement ¶
func (s *Baseqasm3ParserListener) ExitGateCallStatement(ctx *GateCallStatementContext)
ExitGateCallStatement is called when production gateCallStatement is exited.
func (*Baseqasm3ParserListener) ExitGateModifier ¶
func (s *Baseqasm3ParserListener) ExitGateModifier(ctx *GateModifierContext)
ExitGateModifier is called when production gateModifier is exited.
func (*Baseqasm3ParserListener) ExitGateOperand ¶
func (s *Baseqasm3ParserListener) ExitGateOperand(ctx *GateOperandContext)
ExitGateOperand is called when production gateOperand is exited.
func (*Baseqasm3ParserListener) ExitGateOperandList ¶
func (s *Baseqasm3ParserListener) ExitGateOperandList(ctx *GateOperandListContext)
ExitGateOperandList is called when production gateOperandList is exited.
func (*Baseqasm3ParserListener) ExitGateStatement ¶
func (s *Baseqasm3ParserListener) ExitGateStatement(ctx *GateStatementContext)
ExitGateStatement is called when production gateStatement is exited.
func (*Baseqasm3ParserListener) ExitIdentifierList ¶
func (s *Baseqasm3ParserListener) ExitIdentifierList(ctx *IdentifierListContext)
ExitIdentifierList is called when production identifierList is exited.
func (*Baseqasm3ParserListener) ExitIfStatement ¶
func (s *Baseqasm3ParserListener) ExitIfStatement(ctx *IfStatementContext)
ExitIfStatement is called when production ifStatement is exited.
func (*Baseqasm3ParserListener) ExitIncludeStatement ¶
func (s *Baseqasm3ParserListener) ExitIncludeStatement(ctx *IncludeStatementContext)
ExitIncludeStatement is called when production includeStatement is exited.
func (*Baseqasm3ParserListener) ExitIndexExpression ¶
func (s *Baseqasm3ParserListener) ExitIndexExpression(ctx *IndexExpressionContext)
ExitIndexExpression is called when production indexExpression is exited.
func (*Baseqasm3ParserListener) ExitIndexOperator ¶
func (s *Baseqasm3ParserListener) ExitIndexOperator(ctx *IndexOperatorContext)
ExitIndexOperator is called when production indexOperator is exited.
func (*Baseqasm3ParserListener) ExitIndexedIdentifier ¶
func (s *Baseqasm3ParserListener) ExitIndexedIdentifier(ctx *IndexedIdentifierContext)
ExitIndexedIdentifier is called when production indexedIdentifier is exited.
func (*Baseqasm3ParserListener) ExitIoDeclarationStatement ¶
func (s *Baseqasm3ParserListener) ExitIoDeclarationStatement(ctx *IoDeclarationStatementContext)
ExitIoDeclarationStatement is called when production ioDeclarationStatement is exited.
func (*Baseqasm3ParserListener) ExitLiteralExpression ¶
func (s *Baseqasm3ParserListener) ExitLiteralExpression(ctx *LiteralExpressionContext)
ExitLiteralExpression is called when production literalExpression is exited.
func (*Baseqasm3ParserListener) ExitLogicalAndExpression ¶
func (s *Baseqasm3ParserListener) ExitLogicalAndExpression(ctx *LogicalAndExpressionContext)
ExitLogicalAndExpression is called when production logicalAndExpression is exited.
func (*Baseqasm3ParserListener) ExitLogicalOrExpression ¶
func (s *Baseqasm3ParserListener) ExitLogicalOrExpression(ctx *LogicalOrExpressionContext)
ExitLogicalOrExpression is called when production logicalOrExpression is exited.
func (*Baseqasm3ParserListener) ExitMeasureArrowAssignmentStatement ¶
func (s *Baseqasm3ParserListener) ExitMeasureArrowAssignmentStatement(ctx *MeasureArrowAssignmentStatementContext)
ExitMeasureArrowAssignmentStatement is called when production measureArrowAssignmentStatement is exited.
func (*Baseqasm3ParserListener) ExitMeasureExpression ¶
func (s *Baseqasm3ParserListener) ExitMeasureExpression(ctx *MeasureExpressionContext)
ExitMeasureExpression is called when production measureExpression is exited.
func (*Baseqasm3ParserListener) ExitMultiplicativeExpression ¶
func (s *Baseqasm3ParserListener) ExitMultiplicativeExpression(ctx *MultiplicativeExpressionContext)
ExitMultiplicativeExpression is called when production multiplicativeExpression is exited.
func (*Baseqasm3ParserListener) ExitOldStyleDeclarationStatement ¶
func (s *Baseqasm3ParserListener) ExitOldStyleDeclarationStatement(ctx *OldStyleDeclarationStatementContext)
ExitOldStyleDeclarationStatement is called when production oldStyleDeclarationStatement is exited.
func (*Baseqasm3ParserListener) ExitParenthesisExpression ¶
func (s *Baseqasm3ParserListener) ExitParenthesisExpression(ctx *ParenthesisExpressionContext)
ExitParenthesisExpression is called when production parenthesisExpression is exited.
func (*Baseqasm3ParserListener) ExitPowerExpression ¶
func (s *Baseqasm3ParserListener) ExitPowerExpression(ctx *PowerExpressionContext)
ExitPowerExpression is called when production powerExpression is exited.
func (*Baseqasm3ParserListener) ExitPragma ¶
func (s *Baseqasm3ParserListener) ExitPragma(ctx *PragmaContext)
ExitPragma is called when production pragma is exited.
func (*Baseqasm3ParserListener) ExitProgram ¶
func (s *Baseqasm3ParserListener) ExitProgram(ctx *ProgramContext)
ExitProgram is called when production program is exited.
func (*Baseqasm3ParserListener) ExitQuantumDeclarationStatement ¶
func (s *Baseqasm3ParserListener) ExitQuantumDeclarationStatement(ctx *QuantumDeclarationStatementContext)
ExitQuantumDeclarationStatement is called when production quantumDeclarationStatement is exited.
func (*Baseqasm3ParserListener) ExitQubitType ¶
func (s *Baseqasm3ParserListener) ExitQubitType(ctx *QubitTypeContext)
ExitQubitType is called when production qubitType is exited.
func (*Baseqasm3ParserListener) ExitRangeExpression ¶
func (s *Baseqasm3ParserListener) ExitRangeExpression(ctx *RangeExpressionContext)
ExitRangeExpression is called when production rangeExpression is exited.
func (*Baseqasm3ParserListener) ExitResetStatement ¶
func (s *Baseqasm3ParserListener) ExitResetStatement(ctx *ResetStatementContext)
ExitResetStatement is called when production resetStatement is exited.
func (*Baseqasm3ParserListener) ExitReturnSignature ¶
func (s *Baseqasm3ParserListener) ExitReturnSignature(ctx *ReturnSignatureContext)
ExitReturnSignature is called when production returnSignature is exited.
func (*Baseqasm3ParserListener) ExitReturnStatement ¶
func (s *Baseqasm3ParserListener) ExitReturnStatement(ctx *ReturnStatementContext)
ExitReturnStatement is called when production returnStatement is exited.
func (*Baseqasm3ParserListener) ExitScalarType ¶
func (s *Baseqasm3ParserListener) ExitScalarType(ctx *ScalarTypeContext)
ExitScalarType is called when production scalarType is exited.
func (*Baseqasm3ParserListener) ExitScope ¶
func (s *Baseqasm3ParserListener) ExitScope(ctx *ScopeContext)
ExitScope is called when production scope is exited.
func (*Baseqasm3ParserListener) ExitSetExpression ¶
func (s *Baseqasm3ParserListener) ExitSetExpression(ctx *SetExpressionContext)
ExitSetExpression is called when production setExpression is exited.
func (*Baseqasm3ParserListener) ExitStatement ¶
func (s *Baseqasm3ParserListener) ExitStatement(ctx *StatementContext)
ExitStatement is called when production statement is exited.
func (*Baseqasm3ParserListener) ExitStatementOrScope ¶
func (s *Baseqasm3ParserListener) ExitStatementOrScope(ctx *StatementOrScopeContext)
ExitStatementOrScope is called when production statementOrScope is exited.
func (*Baseqasm3ParserListener) ExitSwitchCaseItem ¶
func (s *Baseqasm3ParserListener) ExitSwitchCaseItem(ctx *SwitchCaseItemContext)
ExitSwitchCaseItem is called when production switchCaseItem is exited.
func (*Baseqasm3ParserListener) ExitSwitchStatement ¶
func (s *Baseqasm3ParserListener) ExitSwitchStatement(ctx *SwitchStatementContext)
ExitSwitchStatement is called when production switchStatement is exited.
func (*Baseqasm3ParserListener) ExitUnaryExpression ¶
func (s *Baseqasm3ParserListener) ExitUnaryExpression(ctx *UnaryExpressionContext)
ExitUnaryExpression is called when production unaryExpression is exited.
func (*Baseqasm3ParserListener) ExitVersion ¶
func (s *Baseqasm3ParserListener) ExitVersion(ctx *VersionContext)
ExitVersion is called when production version is exited.
func (*Baseqasm3ParserListener) ExitWhileStatement ¶
func (s *Baseqasm3ParserListener) ExitWhileStatement(ctx *WhileStatementContext)
ExitWhileStatement is called when production whileStatement is exited.
func (*Baseqasm3ParserListener) VisitErrorNode ¶
func (s *Baseqasm3ParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*Baseqasm3ParserListener) VisitTerminal ¶
func (s *Baseqasm3ParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Baseqasm3ParserVisitor ¶
type Baseqasm3ParserVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*Baseqasm3ParserVisitor) VisitAdditiveExpression ¶
func (v *Baseqasm3ParserVisitor) VisitAdditiveExpression(ctx *AdditiveExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitAliasDeclarationStatement ¶
func (v *Baseqasm3ParserVisitor) VisitAliasDeclarationStatement(ctx *AliasDeclarationStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitAliasExpression ¶
func (v *Baseqasm3ParserVisitor) VisitAliasExpression(ctx *AliasExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitAnnotation ¶
func (v *Baseqasm3ParserVisitor) VisitAnnotation(ctx *AnnotationContext) interface{}
func (*Baseqasm3ParserVisitor) VisitArgumentDefinition ¶
func (v *Baseqasm3ParserVisitor) VisitArgumentDefinition(ctx *ArgumentDefinitionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitArgumentDefinitionList ¶
func (v *Baseqasm3ParserVisitor) VisitArgumentDefinitionList(ctx *ArgumentDefinitionListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitArrayLiteral ¶
func (v *Baseqasm3ParserVisitor) VisitArrayLiteral(ctx *ArrayLiteralContext) interface{}
func (*Baseqasm3ParserVisitor) VisitArrayReferenceType ¶
func (v *Baseqasm3ParserVisitor) VisitArrayReferenceType(ctx *ArrayReferenceTypeContext) interface{}
func (*Baseqasm3ParserVisitor) VisitArrayType ¶
func (v *Baseqasm3ParserVisitor) VisitArrayType(ctx *ArrayTypeContext) interface{}
func (*Baseqasm3ParserVisitor) VisitAssignmentStatement ¶
func (v *Baseqasm3ParserVisitor) VisitAssignmentStatement(ctx *AssignmentStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBarrierStatement ¶
func (v *Baseqasm3ParserVisitor) VisitBarrierStatement(ctx *BarrierStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBitshiftExpression ¶
func (v *Baseqasm3ParserVisitor) VisitBitshiftExpression(ctx *BitshiftExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBitwiseAndExpression ¶
func (v *Baseqasm3ParserVisitor) VisitBitwiseAndExpression(ctx *BitwiseAndExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBitwiseOrExpression ¶
func (v *Baseqasm3ParserVisitor) VisitBitwiseOrExpression(ctx *BitwiseOrExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBitwiseXorExpression ¶
func (v *Baseqasm3ParserVisitor) VisitBitwiseXorExpression(ctx *BitwiseXorExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBoxStatement ¶
func (v *Baseqasm3ParserVisitor) VisitBoxStatement(ctx *BoxStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitBreakStatement ¶
func (v *Baseqasm3ParserVisitor) VisitBreakStatement(ctx *BreakStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitCalStatement ¶
func (v *Baseqasm3ParserVisitor) VisitCalStatement(ctx *CalStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitCalibrationGrammarStatement ¶
func (v *Baseqasm3ParserVisitor) VisitCalibrationGrammarStatement(ctx *CalibrationGrammarStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitCallExpression ¶
func (v *Baseqasm3ParserVisitor) VisitCallExpression(ctx *CallExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitCastExpression ¶
func (v *Baseqasm3ParserVisitor) VisitCastExpression(ctx *CastExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitClassicalDeclarationStatement ¶
func (v *Baseqasm3ParserVisitor) VisitClassicalDeclarationStatement(ctx *ClassicalDeclarationStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitComparisonExpression ¶
func (v *Baseqasm3ParserVisitor) VisitComparisonExpression(ctx *ComparisonExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitConstDeclarationStatement ¶
func (v *Baseqasm3ParserVisitor) VisitConstDeclarationStatement(ctx *ConstDeclarationStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitContinueStatement ¶
func (v *Baseqasm3ParserVisitor) VisitContinueStatement(ctx *ContinueStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDeclarationExpression ¶
func (v *Baseqasm3ParserVisitor) VisitDeclarationExpression(ctx *DeclarationExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefStatement ¶
func (v *Baseqasm3ParserVisitor) VisitDefStatement(ctx *DefStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefcalArgumentDefinition ¶
func (v *Baseqasm3ParserVisitor) VisitDefcalArgumentDefinition(ctx *DefcalArgumentDefinitionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefcalArgumentDefinitionList ¶
func (v *Baseqasm3ParserVisitor) VisitDefcalArgumentDefinitionList(ctx *DefcalArgumentDefinitionListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefcalOperand ¶
func (v *Baseqasm3ParserVisitor) VisitDefcalOperand(ctx *DefcalOperandContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefcalOperandList ¶
func (v *Baseqasm3ParserVisitor) VisitDefcalOperandList(ctx *DefcalOperandListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefcalStatement ¶
func (v *Baseqasm3ParserVisitor) VisitDefcalStatement(ctx *DefcalStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDefcalTarget ¶
func (v *Baseqasm3ParserVisitor) VisitDefcalTarget(ctx *DefcalTargetContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDelayStatement ¶
func (v *Baseqasm3ParserVisitor) VisitDelayStatement(ctx *DelayStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDesignator ¶
func (v *Baseqasm3ParserVisitor) VisitDesignator(ctx *DesignatorContext) interface{}
func (*Baseqasm3ParserVisitor) VisitDurationofExpression ¶
func (v *Baseqasm3ParserVisitor) VisitDurationofExpression(ctx *DurationofExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitEndStatement ¶
func (v *Baseqasm3ParserVisitor) VisitEndStatement(ctx *EndStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitEqualityExpression ¶
func (v *Baseqasm3ParserVisitor) VisitEqualityExpression(ctx *EqualityExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitExpressionList ¶
func (v *Baseqasm3ParserVisitor) VisitExpressionList(ctx *ExpressionListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitExpressionStatement ¶
func (v *Baseqasm3ParserVisitor) VisitExpressionStatement(ctx *ExpressionStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitExternArgument ¶
func (v *Baseqasm3ParserVisitor) VisitExternArgument(ctx *ExternArgumentContext) interface{}
func (*Baseqasm3ParserVisitor) VisitExternArgumentList ¶
func (v *Baseqasm3ParserVisitor) VisitExternArgumentList(ctx *ExternArgumentListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitExternStatement ¶
func (v *Baseqasm3ParserVisitor) VisitExternStatement(ctx *ExternStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitForStatement ¶
func (v *Baseqasm3ParserVisitor) VisitForStatement(ctx *ForStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitGateCallStatement ¶
func (v *Baseqasm3ParserVisitor) VisitGateCallStatement(ctx *GateCallStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitGateModifier ¶
func (v *Baseqasm3ParserVisitor) VisitGateModifier(ctx *GateModifierContext) interface{}
func (*Baseqasm3ParserVisitor) VisitGateOperand ¶
func (v *Baseqasm3ParserVisitor) VisitGateOperand(ctx *GateOperandContext) interface{}
func (*Baseqasm3ParserVisitor) VisitGateOperandList ¶
func (v *Baseqasm3ParserVisitor) VisitGateOperandList(ctx *GateOperandListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitGateStatement ¶
func (v *Baseqasm3ParserVisitor) VisitGateStatement(ctx *GateStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIdentifierList ¶
func (v *Baseqasm3ParserVisitor) VisitIdentifierList(ctx *IdentifierListContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIfStatement ¶
func (v *Baseqasm3ParserVisitor) VisitIfStatement(ctx *IfStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIncludeStatement ¶
func (v *Baseqasm3ParserVisitor) VisitIncludeStatement(ctx *IncludeStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIndexExpression ¶
func (v *Baseqasm3ParserVisitor) VisitIndexExpression(ctx *IndexExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIndexOperator ¶
func (v *Baseqasm3ParserVisitor) VisitIndexOperator(ctx *IndexOperatorContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIndexedIdentifier ¶
func (v *Baseqasm3ParserVisitor) VisitIndexedIdentifier(ctx *IndexedIdentifierContext) interface{}
func (*Baseqasm3ParserVisitor) VisitIoDeclarationStatement ¶
func (v *Baseqasm3ParserVisitor) VisitIoDeclarationStatement(ctx *IoDeclarationStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitLiteralExpression ¶
func (v *Baseqasm3ParserVisitor) VisitLiteralExpression(ctx *LiteralExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitLogicalAndExpression ¶
func (v *Baseqasm3ParserVisitor) VisitLogicalAndExpression(ctx *LogicalAndExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitLogicalOrExpression ¶
func (v *Baseqasm3ParserVisitor) VisitLogicalOrExpression(ctx *LogicalOrExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitMeasureArrowAssignmentStatement ¶
func (v *Baseqasm3ParserVisitor) VisitMeasureArrowAssignmentStatement(ctx *MeasureArrowAssignmentStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitMeasureExpression ¶
func (v *Baseqasm3ParserVisitor) VisitMeasureExpression(ctx *MeasureExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitMultiplicativeExpression ¶
func (v *Baseqasm3ParserVisitor) VisitMultiplicativeExpression(ctx *MultiplicativeExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitOldStyleDeclarationStatement ¶
func (v *Baseqasm3ParserVisitor) VisitOldStyleDeclarationStatement(ctx *OldStyleDeclarationStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitParenthesisExpression ¶
func (v *Baseqasm3ParserVisitor) VisitParenthesisExpression(ctx *ParenthesisExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitPowerExpression ¶
func (v *Baseqasm3ParserVisitor) VisitPowerExpression(ctx *PowerExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitPragma ¶
func (v *Baseqasm3ParserVisitor) VisitPragma(ctx *PragmaContext) interface{}
func (*Baseqasm3ParserVisitor) VisitProgram ¶
func (v *Baseqasm3ParserVisitor) VisitProgram(ctx *ProgramContext) interface{}
func (*Baseqasm3ParserVisitor) VisitQuantumDeclarationStatement ¶
func (v *Baseqasm3ParserVisitor) VisitQuantumDeclarationStatement(ctx *QuantumDeclarationStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitQubitType ¶
func (v *Baseqasm3ParserVisitor) VisitQubitType(ctx *QubitTypeContext) interface{}
func (*Baseqasm3ParserVisitor) VisitRangeExpression ¶
func (v *Baseqasm3ParserVisitor) VisitRangeExpression(ctx *RangeExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitResetStatement ¶
func (v *Baseqasm3ParserVisitor) VisitResetStatement(ctx *ResetStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitReturnSignature ¶
func (v *Baseqasm3ParserVisitor) VisitReturnSignature(ctx *ReturnSignatureContext) interface{}
func (*Baseqasm3ParserVisitor) VisitReturnStatement ¶
func (v *Baseqasm3ParserVisitor) VisitReturnStatement(ctx *ReturnStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitScalarType ¶
func (v *Baseqasm3ParserVisitor) VisitScalarType(ctx *ScalarTypeContext) interface{}
func (*Baseqasm3ParserVisitor) VisitScope ¶
func (v *Baseqasm3ParserVisitor) VisitScope(ctx *ScopeContext) interface{}
func (*Baseqasm3ParserVisitor) VisitSetExpression ¶
func (v *Baseqasm3ParserVisitor) VisitSetExpression(ctx *SetExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitStatement ¶
func (v *Baseqasm3ParserVisitor) VisitStatement(ctx *StatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitStatementOrScope ¶
func (v *Baseqasm3ParserVisitor) VisitStatementOrScope(ctx *StatementOrScopeContext) interface{}
func (*Baseqasm3ParserVisitor) VisitSwitchCaseItem ¶
func (v *Baseqasm3ParserVisitor) VisitSwitchCaseItem(ctx *SwitchCaseItemContext) interface{}
func (*Baseqasm3ParserVisitor) VisitSwitchStatement ¶
func (v *Baseqasm3ParserVisitor) VisitSwitchStatement(ctx *SwitchStatementContext) interface{}
func (*Baseqasm3ParserVisitor) VisitUnaryExpression ¶
func (v *Baseqasm3ParserVisitor) VisitUnaryExpression(ctx *UnaryExpressionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitVersion ¶
func (v *Baseqasm3ParserVisitor) VisitVersion(ctx *VersionContext) interface{}
func (*Baseqasm3ParserVisitor) VisitWhileStatement ¶
func (v *Baseqasm3ParserVisitor) VisitWhileStatement(ctx *WhileStatementContext) interface{}
type BitshiftExpressionContext ¶
type BitshiftExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewBitshiftExpressionContext ¶
func NewBitshiftExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitshiftExpressionContext
func (*BitshiftExpressionContext) Accept ¶
func (s *BitshiftExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitshiftExpressionContext) AllExpression ¶
func (s *BitshiftExpressionContext) AllExpression() []IExpressionContext
func (*BitshiftExpressionContext) BitshiftOperator ¶
func (s *BitshiftExpressionContext) BitshiftOperator() antlr.TerminalNode
func (*BitshiftExpressionContext) EnterRule ¶
func (s *BitshiftExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*BitshiftExpressionContext) ExitRule ¶
func (s *BitshiftExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*BitshiftExpressionContext) Expression ¶
func (s *BitshiftExpressionContext) Expression(i int) IExpressionContext
func (*BitshiftExpressionContext) GetOp ¶
func (s *BitshiftExpressionContext) GetOp() antlr.Token
func (*BitshiftExpressionContext) GetRuleContext ¶
func (s *BitshiftExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitshiftExpressionContext) SetOp ¶
func (s *BitshiftExpressionContext) SetOp(v antlr.Token)
type BitwiseAndExpressionContext ¶
type BitwiseAndExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewBitwiseAndExpressionContext ¶
func NewBitwiseAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitwiseAndExpressionContext
func (*BitwiseAndExpressionContext) AMPERSAND ¶
func (s *BitwiseAndExpressionContext) AMPERSAND() antlr.TerminalNode
func (*BitwiseAndExpressionContext) Accept ¶
func (s *BitwiseAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitwiseAndExpressionContext) AllExpression ¶
func (s *BitwiseAndExpressionContext) AllExpression() []IExpressionContext
func (*BitwiseAndExpressionContext) EnterRule ¶
func (s *BitwiseAndExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*BitwiseAndExpressionContext) ExitRule ¶
func (s *BitwiseAndExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*BitwiseAndExpressionContext) Expression ¶
func (s *BitwiseAndExpressionContext) Expression(i int) IExpressionContext
func (*BitwiseAndExpressionContext) GetOp ¶
func (s *BitwiseAndExpressionContext) GetOp() antlr.Token
func (*BitwiseAndExpressionContext) GetRuleContext ¶
func (s *BitwiseAndExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitwiseAndExpressionContext) SetOp ¶
func (s *BitwiseAndExpressionContext) SetOp(v antlr.Token)
type BitwiseOrExpressionContext ¶
type BitwiseOrExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewBitwiseOrExpressionContext ¶
func NewBitwiseOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitwiseOrExpressionContext
func (*BitwiseOrExpressionContext) Accept ¶
func (s *BitwiseOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitwiseOrExpressionContext) AllExpression ¶
func (s *BitwiseOrExpressionContext) AllExpression() []IExpressionContext
func (*BitwiseOrExpressionContext) EnterRule ¶
func (s *BitwiseOrExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*BitwiseOrExpressionContext) ExitRule ¶
func (s *BitwiseOrExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*BitwiseOrExpressionContext) Expression ¶
func (s *BitwiseOrExpressionContext) Expression(i int) IExpressionContext
func (*BitwiseOrExpressionContext) GetOp ¶
func (s *BitwiseOrExpressionContext) GetOp() antlr.Token
func (*BitwiseOrExpressionContext) GetRuleContext ¶
func (s *BitwiseOrExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitwiseOrExpressionContext) PIPE ¶
func (s *BitwiseOrExpressionContext) PIPE() antlr.TerminalNode
func (*BitwiseOrExpressionContext) SetOp ¶
func (s *BitwiseOrExpressionContext) SetOp(v antlr.Token)
type BitwiseXorExpressionContext ¶
type BitwiseXorExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewBitwiseXorExpressionContext ¶
func NewBitwiseXorExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BitwiseXorExpressionContext
func (*BitwiseXorExpressionContext) Accept ¶
func (s *BitwiseXorExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BitwiseXorExpressionContext) AllExpression ¶
func (s *BitwiseXorExpressionContext) AllExpression() []IExpressionContext
func (*BitwiseXorExpressionContext) CARET ¶
func (s *BitwiseXorExpressionContext) CARET() antlr.TerminalNode
func (*BitwiseXorExpressionContext) EnterRule ¶
func (s *BitwiseXorExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*BitwiseXorExpressionContext) ExitRule ¶
func (s *BitwiseXorExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*BitwiseXorExpressionContext) Expression ¶
func (s *BitwiseXorExpressionContext) Expression(i int) IExpressionContext
func (*BitwiseXorExpressionContext) GetOp ¶
func (s *BitwiseXorExpressionContext) GetOp() antlr.Token
func (*BitwiseXorExpressionContext) GetRuleContext ¶
func (s *BitwiseXorExpressionContext) GetRuleContext() antlr.RuleContext
func (*BitwiseXorExpressionContext) SetOp ¶
func (s *BitwiseXorExpressionContext) SetOp(v antlr.Token)
type BoxStatementContext ¶
type BoxStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBoxStatementContext ¶
func NewBoxStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoxStatementContext
func NewEmptyBoxStatementContext ¶
func NewEmptyBoxStatementContext() *BoxStatementContext
func (*BoxStatementContext) Accept ¶
func (s *BoxStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BoxStatementContext) BOX ¶
func (s *BoxStatementContext) BOX() antlr.TerminalNode
func (*BoxStatementContext) Designator ¶
func (s *BoxStatementContext) Designator() IDesignatorContext
func (*BoxStatementContext) EnterRule ¶
func (s *BoxStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*BoxStatementContext) ExitRule ¶
func (s *BoxStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*BoxStatementContext) GetParser ¶
func (s *BoxStatementContext) GetParser() antlr.Parser
func (*BoxStatementContext) GetRuleContext ¶
func (s *BoxStatementContext) GetRuleContext() antlr.RuleContext
func (*BoxStatementContext) IsBoxStatementContext ¶
func (*BoxStatementContext) IsBoxStatementContext()
func (*BoxStatementContext) Scope ¶
func (s *BoxStatementContext) Scope() IScopeContext
func (*BoxStatementContext) ToStringTree ¶
func (s *BoxStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BreakStatementContext ¶
type BreakStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBreakStatementContext ¶
func NewBreakStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BreakStatementContext
func NewEmptyBreakStatementContext ¶
func NewEmptyBreakStatementContext() *BreakStatementContext
func (*BreakStatementContext) Accept ¶
func (s *BreakStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BreakStatementContext) BREAK ¶
func (s *BreakStatementContext) BREAK() antlr.TerminalNode
func (*BreakStatementContext) EnterRule ¶
func (s *BreakStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*BreakStatementContext) ExitRule ¶
func (s *BreakStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*BreakStatementContext) GetParser ¶
func (s *BreakStatementContext) GetParser() antlr.Parser
func (*BreakStatementContext) GetRuleContext ¶
func (s *BreakStatementContext) GetRuleContext() antlr.RuleContext
func (*BreakStatementContext) IsBreakStatementContext ¶
func (*BreakStatementContext) IsBreakStatementContext()
func (*BreakStatementContext) SEMICOLON ¶
func (s *BreakStatementContext) SEMICOLON() antlr.TerminalNode
func (*BreakStatementContext) ToStringTree ¶
func (s *BreakStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CalStatementContext ¶
type CalStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCalStatementContext ¶
func NewCalStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CalStatementContext
func NewEmptyCalStatementContext ¶
func NewEmptyCalStatementContext() *CalStatementContext
func (*CalStatementContext) Accept ¶
func (s *CalStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CalStatementContext) CAL ¶
func (s *CalStatementContext) CAL() antlr.TerminalNode
func (*CalStatementContext) CalibrationBlock ¶
func (s *CalStatementContext) CalibrationBlock() antlr.TerminalNode
func (*CalStatementContext) EnterRule ¶
func (s *CalStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*CalStatementContext) ExitRule ¶
func (s *CalStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*CalStatementContext) GetParser ¶
func (s *CalStatementContext) GetParser() antlr.Parser
func (*CalStatementContext) GetRuleContext ¶
func (s *CalStatementContext) GetRuleContext() antlr.RuleContext
func (*CalStatementContext) IsCalStatementContext ¶
func (*CalStatementContext) IsCalStatementContext()
func (*CalStatementContext) LBRACE ¶
func (s *CalStatementContext) LBRACE() antlr.TerminalNode
func (*CalStatementContext) RBRACE ¶
func (s *CalStatementContext) RBRACE() antlr.TerminalNode
func (*CalStatementContext) ToStringTree ¶
func (s *CalStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CalibrationGrammarStatementContext ¶
type CalibrationGrammarStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCalibrationGrammarStatementContext ¶
func NewCalibrationGrammarStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CalibrationGrammarStatementContext
func NewEmptyCalibrationGrammarStatementContext ¶
func NewEmptyCalibrationGrammarStatementContext() *CalibrationGrammarStatementContext
func (*CalibrationGrammarStatementContext) Accept ¶
func (s *CalibrationGrammarStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CalibrationGrammarStatementContext) DEFCALGRAMMAR ¶
func (s *CalibrationGrammarStatementContext) DEFCALGRAMMAR() antlr.TerminalNode
func (*CalibrationGrammarStatementContext) EnterRule ¶
func (s *CalibrationGrammarStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*CalibrationGrammarStatementContext) ExitRule ¶
func (s *CalibrationGrammarStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*CalibrationGrammarStatementContext) GetParser ¶
func (s *CalibrationGrammarStatementContext) GetParser() antlr.Parser
func (*CalibrationGrammarStatementContext) GetRuleContext ¶
func (s *CalibrationGrammarStatementContext) GetRuleContext() antlr.RuleContext
func (*CalibrationGrammarStatementContext) IsCalibrationGrammarStatementContext ¶
func (*CalibrationGrammarStatementContext) IsCalibrationGrammarStatementContext()
func (*CalibrationGrammarStatementContext) SEMICOLON ¶
func (s *CalibrationGrammarStatementContext) SEMICOLON() antlr.TerminalNode
func (*CalibrationGrammarStatementContext) StringLiteral ¶
func (s *CalibrationGrammarStatementContext) StringLiteral() antlr.TerminalNode
func (*CalibrationGrammarStatementContext) ToStringTree ¶
func (s *CalibrationGrammarStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CallExpressionContext ¶
type CallExpressionContext struct {
ExpressionContext
}
func NewCallExpressionContext ¶
func NewCallExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CallExpressionContext
func (*CallExpressionContext) Accept ¶
func (s *CallExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CallExpressionContext) EnterRule ¶
func (s *CallExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*CallExpressionContext) ExitRule ¶
func (s *CallExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*CallExpressionContext) ExpressionList ¶
func (s *CallExpressionContext) ExpressionList() IExpressionListContext
func (*CallExpressionContext) GetRuleContext ¶
func (s *CallExpressionContext) GetRuleContext() antlr.RuleContext
func (*CallExpressionContext) Identifier ¶
func (s *CallExpressionContext) Identifier() antlr.TerminalNode
func (*CallExpressionContext) LPAREN ¶
func (s *CallExpressionContext) LPAREN() antlr.TerminalNode
func (*CallExpressionContext) RPAREN ¶
func (s *CallExpressionContext) RPAREN() antlr.TerminalNode
type CastExpressionContext ¶
type CastExpressionContext struct {
ExpressionContext
}
func NewCastExpressionContext ¶
func NewCastExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CastExpressionContext
func (*CastExpressionContext) Accept ¶
func (s *CastExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CastExpressionContext) ArrayType ¶
func (s *CastExpressionContext) ArrayType() IArrayTypeContext
func (*CastExpressionContext) EnterRule ¶
func (s *CastExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*CastExpressionContext) ExitRule ¶
func (s *CastExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*CastExpressionContext) Expression ¶
func (s *CastExpressionContext) Expression() IExpressionContext
func (*CastExpressionContext) GetRuleContext ¶
func (s *CastExpressionContext) GetRuleContext() antlr.RuleContext
func (*CastExpressionContext) LPAREN ¶
func (s *CastExpressionContext) LPAREN() antlr.TerminalNode
func (*CastExpressionContext) RPAREN ¶
func (s *CastExpressionContext) RPAREN() antlr.TerminalNode
func (*CastExpressionContext) ScalarType ¶
func (s *CastExpressionContext) ScalarType() IScalarTypeContext
type ClassicalDeclarationStatementContext ¶
type ClassicalDeclarationStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewClassicalDeclarationStatementContext ¶
func NewClassicalDeclarationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClassicalDeclarationStatementContext
func NewEmptyClassicalDeclarationStatementContext ¶
func NewEmptyClassicalDeclarationStatementContext() *ClassicalDeclarationStatementContext
func (*ClassicalDeclarationStatementContext) Accept ¶
func (s *ClassicalDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ClassicalDeclarationStatementContext) ArrayType ¶
func (s *ClassicalDeclarationStatementContext) ArrayType() IArrayTypeContext
func (*ClassicalDeclarationStatementContext) DeclarationExpression ¶
func (s *ClassicalDeclarationStatementContext) DeclarationExpression() IDeclarationExpressionContext
func (*ClassicalDeclarationStatementContext) EQUALS ¶
func (s *ClassicalDeclarationStatementContext) EQUALS() antlr.TerminalNode
func (*ClassicalDeclarationStatementContext) EnterRule ¶
func (s *ClassicalDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ClassicalDeclarationStatementContext) ExitRule ¶
func (s *ClassicalDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ClassicalDeclarationStatementContext) GetParser ¶
func (s *ClassicalDeclarationStatementContext) GetParser() antlr.Parser
func (*ClassicalDeclarationStatementContext) GetRuleContext ¶
func (s *ClassicalDeclarationStatementContext) GetRuleContext() antlr.RuleContext
func (*ClassicalDeclarationStatementContext) Identifier ¶
func (s *ClassicalDeclarationStatementContext) Identifier() antlr.TerminalNode
func (*ClassicalDeclarationStatementContext) IsClassicalDeclarationStatementContext ¶
func (*ClassicalDeclarationStatementContext) IsClassicalDeclarationStatementContext()
func (*ClassicalDeclarationStatementContext) SEMICOLON ¶
func (s *ClassicalDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
func (*ClassicalDeclarationStatementContext) ScalarType ¶
func (s *ClassicalDeclarationStatementContext) ScalarType() IScalarTypeContext
func (*ClassicalDeclarationStatementContext) ToStringTree ¶
func (s *ClassicalDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ComparisonExpressionContext ¶
type ComparisonExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewComparisonExpressionContext ¶
func NewComparisonExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ComparisonExpressionContext
func (*ComparisonExpressionContext) Accept ¶
func (s *ComparisonExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ComparisonExpressionContext) AllExpression ¶
func (s *ComparisonExpressionContext) AllExpression() []IExpressionContext
func (*ComparisonExpressionContext) ComparisonOperator ¶
func (s *ComparisonExpressionContext) ComparisonOperator() antlr.TerminalNode
func (*ComparisonExpressionContext) EnterRule ¶
func (s *ComparisonExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ComparisonExpressionContext) ExitRule ¶
func (s *ComparisonExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ComparisonExpressionContext) Expression ¶
func (s *ComparisonExpressionContext) Expression(i int) IExpressionContext
func (*ComparisonExpressionContext) GetOp ¶
func (s *ComparisonExpressionContext) GetOp() antlr.Token
func (*ComparisonExpressionContext) GetRuleContext ¶
func (s *ComparisonExpressionContext) GetRuleContext() antlr.RuleContext
func (*ComparisonExpressionContext) SetOp ¶
func (s *ComparisonExpressionContext) SetOp(v antlr.Token)
type ConstDeclarationStatementContext ¶
type ConstDeclarationStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConstDeclarationStatementContext ¶
func NewConstDeclarationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstDeclarationStatementContext
func NewEmptyConstDeclarationStatementContext ¶
func NewEmptyConstDeclarationStatementContext() *ConstDeclarationStatementContext
func (*ConstDeclarationStatementContext) Accept ¶
func (s *ConstDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ConstDeclarationStatementContext) CONST ¶
func (s *ConstDeclarationStatementContext) CONST() antlr.TerminalNode
func (*ConstDeclarationStatementContext) DeclarationExpression ¶
func (s *ConstDeclarationStatementContext) DeclarationExpression() IDeclarationExpressionContext
func (*ConstDeclarationStatementContext) EQUALS ¶
func (s *ConstDeclarationStatementContext) EQUALS() antlr.TerminalNode
func (*ConstDeclarationStatementContext) EnterRule ¶
func (s *ConstDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConstDeclarationStatementContext) ExitRule ¶
func (s *ConstDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConstDeclarationStatementContext) GetParser ¶
func (s *ConstDeclarationStatementContext) GetParser() antlr.Parser
func (*ConstDeclarationStatementContext) GetRuleContext ¶
func (s *ConstDeclarationStatementContext) GetRuleContext() antlr.RuleContext
func (*ConstDeclarationStatementContext) Identifier ¶
func (s *ConstDeclarationStatementContext) Identifier() antlr.TerminalNode
func (*ConstDeclarationStatementContext) IsConstDeclarationStatementContext ¶
func (*ConstDeclarationStatementContext) IsConstDeclarationStatementContext()
func (*ConstDeclarationStatementContext) SEMICOLON ¶
func (s *ConstDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
func (*ConstDeclarationStatementContext) ScalarType ¶
func (s *ConstDeclarationStatementContext) ScalarType() IScalarTypeContext
func (*ConstDeclarationStatementContext) ToStringTree ¶
func (s *ConstDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ContinueStatementContext ¶
type ContinueStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewContinueStatementContext ¶
func NewContinueStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContinueStatementContext
func NewEmptyContinueStatementContext ¶
func NewEmptyContinueStatementContext() *ContinueStatementContext
func (*ContinueStatementContext) Accept ¶
func (s *ContinueStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ContinueStatementContext) CONTINUE ¶
func (s *ContinueStatementContext) CONTINUE() antlr.TerminalNode
func (*ContinueStatementContext) EnterRule ¶
func (s *ContinueStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ContinueStatementContext) ExitRule ¶
func (s *ContinueStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ContinueStatementContext) GetParser ¶
func (s *ContinueStatementContext) GetParser() antlr.Parser
func (*ContinueStatementContext) GetRuleContext ¶
func (s *ContinueStatementContext) GetRuleContext() antlr.RuleContext
func (*ContinueStatementContext) IsContinueStatementContext ¶
func (*ContinueStatementContext) IsContinueStatementContext()
func (*ContinueStatementContext) SEMICOLON ¶
func (s *ContinueStatementContext) SEMICOLON() antlr.TerminalNode
func (*ContinueStatementContext) ToStringTree ¶
func (s *ContinueStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DeclarationExpressionContext ¶
type DeclarationExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDeclarationExpressionContext ¶
func NewDeclarationExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationExpressionContext
func NewEmptyDeclarationExpressionContext ¶
func NewEmptyDeclarationExpressionContext() *DeclarationExpressionContext
func (*DeclarationExpressionContext) Accept ¶
func (s *DeclarationExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DeclarationExpressionContext) ArrayLiteral ¶
func (s *DeclarationExpressionContext) ArrayLiteral() IArrayLiteralContext
func (*DeclarationExpressionContext) EnterRule ¶
func (s *DeclarationExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*DeclarationExpressionContext) ExitRule ¶
func (s *DeclarationExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*DeclarationExpressionContext) Expression ¶
func (s *DeclarationExpressionContext) Expression() IExpressionContext
func (*DeclarationExpressionContext) GetParser ¶
func (s *DeclarationExpressionContext) GetParser() antlr.Parser
func (*DeclarationExpressionContext) GetRuleContext ¶
func (s *DeclarationExpressionContext) GetRuleContext() antlr.RuleContext
func (*DeclarationExpressionContext) IsDeclarationExpressionContext ¶
func (*DeclarationExpressionContext) IsDeclarationExpressionContext()
func (*DeclarationExpressionContext) MeasureExpression ¶
func (s *DeclarationExpressionContext) MeasureExpression() IMeasureExpressionContext
func (*DeclarationExpressionContext) ToStringTree ¶
func (s *DeclarationExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefStatementContext ¶
type DefStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefStatementContext ¶
func NewDefStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefStatementContext
func NewEmptyDefStatementContext ¶
func NewEmptyDefStatementContext() *DefStatementContext
func (*DefStatementContext) Accept ¶
func (s *DefStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefStatementContext) ArgumentDefinitionList ¶
func (s *DefStatementContext) ArgumentDefinitionList() IArgumentDefinitionListContext
func (*DefStatementContext) DEF ¶
func (s *DefStatementContext) DEF() antlr.TerminalNode
func (*DefStatementContext) EnterRule ¶
func (s *DefStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefStatementContext) ExitRule ¶
func (s *DefStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefStatementContext) GetParser ¶
func (s *DefStatementContext) GetParser() antlr.Parser
func (*DefStatementContext) GetRuleContext ¶
func (s *DefStatementContext) GetRuleContext() antlr.RuleContext
func (*DefStatementContext) Identifier ¶
func (s *DefStatementContext) Identifier() antlr.TerminalNode
func (*DefStatementContext) IsDefStatementContext ¶
func (*DefStatementContext) IsDefStatementContext()
func (*DefStatementContext) LPAREN ¶
func (s *DefStatementContext) LPAREN() antlr.TerminalNode
func (*DefStatementContext) RPAREN ¶
func (s *DefStatementContext) RPAREN() antlr.TerminalNode
func (*DefStatementContext) ReturnSignature ¶
func (s *DefStatementContext) ReturnSignature() IReturnSignatureContext
func (*DefStatementContext) Scope ¶
func (s *DefStatementContext) Scope() IScopeContext
func (*DefStatementContext) ToStringTree ¶
func (s *DefStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefcalArgumentDefinitionContext ¶
type DefcalArgumentDefinitionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefcalArgumentDefinitionContext ¶
func NewDefcalArgumentDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefcalArgumentDefinitionContext
func NewEmptyDefcalArgumentDefinitionContext ¶
func NewEmptyDefcalArgumentDefinitionContext() *DefcalArgumentDefinitionContext
func (*DefcalArgumentDefinitionContext) Accept ¶
func (s *DefcalArgumentDefinitionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefcalArgumentDefinitionContext) ArgumentDefinition ¶
func (s *DefcalArgumentDefinitionContext) ArgumentDefinition() IArgumentDefinitionContext
func (*DefcalArgumentDefinitionContext) EnterRule ¶
func (s *DefcalArgumentDefinitionContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefcalArgumentDefinitionContext) ExitRule ¶
func (s *DefcalArgumentDefinitionContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefcalArgumentDefinitionContext) Expression ¶
func (s *DefcalArgumentDefinitionContext) Expression() IExpressionContext
func (*DefcalArgumentDefinitionContext) GetParser ¶
func (s *DefcalArgumentDefinitionContext) GetParser() antlr.Parser
func (*DefcalArgumentDefinitionContext) GetRuleContext ¶
func (s *DefcalArgumentDefinitionContext) GetRuleContext() antlr.RuleContext
func (*DefcalArgumentDefinitionContext) IsDefcalArgumentDefinitionContext ¶
func (*DefcalArgumentDefinitionContext) IsDefcalArgumentDefinitionContext()
func (*DefcalArgumentDefinitionContext) ToStringTree ¶
func (s *DefcalArgumentDefinitionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefcalArgumentDefinitionListContext ¶
type DefcalArgumentDefinitionListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefcalArgumentDefinitionListContext ¶
func NewDefcalArgumentDefinitionListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefcalArgumentDefinitionListContext
func NewEmptyDefcalArgumentDefinitionListContext ¶
func NewEmptyDefcalArgumentDefinitionListContext() *DefcalArgumentDefinitionListContext
func (*DefcalArgumentDefinitionListContext) Accept ¶
func (s *DefcalArgumentDefinitionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefcalArgumentDefinitionListContext) AllCOMMA ¶
func (s *DefcalArgumentDefinitionListContext) AllCOMMA() []antlr.TerminalNode
func (*DefcalArgumentDefinitionListContext) AllDefcalArgumentDefinition ¶
func (s *DefcalArgumentDefinitionListContext) AllDefcalArgumentDefinition() []IDefcalArgumentDefinitionContext
func (*DefcalArgumentDefinitionListContext) COMMA ¶
func (s *DefcalArgumentDefinitionListContext) COMMA(i int) antlr.TerminalNode
func (*DefcalArgumentDefinitionListContext) DefcalArgumentDefinition ¶
func (s *DefcalArgumentDefinitionListContext) DefcalArgumentDefinition(i int) IDefcalArgumentDefinitionContext
func (*DefcalArgumentDefinitionListContext) EnterRule ¶
func (s *DefcalArgumentDefinitionListContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefcalArgumentDefinitionListContext) ExitRule ¶
func (s *DefcalArgumentDefinitionListContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefcalArgumentDefinitionListContext) GetParser ¶
func (s *DefcalArgumentDefinitionListContext) GetParser() antlr.Parser
func (*DefcalArgumentDefinitionListContext) GetRuleContext ¶
func (s *DefcalArgumentDefinitionListContext) GetRuleContext() antlr.RuleContext
func (*DefcalArgumentDefinitionListContext) IsDefcalArgumentDefinitionListContext ¶
func (*DefcalArgumentDefinitionListContext) IsDefcalArgumentDefinitionListContext()
func (*DefcalArgumentDefinitionListContext) ToStringTree ¶
func (s *DefcalArgumentDefinitionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefcalOperandContext ¶
type DefcalOperandContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefcalOperandContext ¶
func NewDefcalOperandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefcalOperandContext
func NewEmptyDefcalOperandContext ¶
func NewEmptyDefcalOperandContext() *DefcalOperandContext
func (*DefcalOperandContext) Accept ¶
func (s *DefcalOperandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefcalOperandContext) EnterRule ¶
func (s *DefcalOperandContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefcalOperandContext) ExitRule ¶
func (s *DefcalOperandContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefcalOperandContext) GetParser ¶
func (s *DefcalOperandContext) GetParser() antlr.Parser
func (*DefcalOperandContext) GetRuleContext ¶
func (s *DefcalOperandContext) GetRuleContext() antlr.RuleContext
func (*DefcalOperandContext) HardwareQubit ¶
func (s *DefcalOperandContext) HardwareQubit() antlr.TerminalNode
func (*DefcalOperandContext) Identifier ¶
func (s *DefcalOperandContext) Identifier() antlr.TerminalNode
func (*DefcalOperandContext) IsDefcalOperandContext ¶
func (*DefcalOperandContext) IsDefcalOperandContext()
func (*DefcalOperandContext) ToStringTree ¶
func (s *DefcalOperandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefcalOperandListContext ¶
type DefcalOperandListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefcalOperandListContext ¶
func NewDefcalOperandListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefcalOperandListContext
func NewEmptyDefcalOperandListContext ¶
func NewEmptyDefcalOperandListContext() *DefcalOperandListContext
func (*DefcalOperandListContext) Accept ¶
func (s *DefcalOperandListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefcalOperandListContext) AllCOMMA ¶
func (s *DefcalOperandListContext) AllCOMMA() []antlr.TerminalNode
func (*DefcalOperandListContext) AllDefcalOperand ¶
func (s *DefcalOperandListContext) AllDefcalOperand() []IDefcalOperandContext
func (*DefcalOperandListContext) COMMA ¶
func (s *DefcalOperandListContext) COMMA(i int) antlr.TerminalNode
func (*DefcalOperandListContext) DefcalOperand ¶
func (s *DefcalOperandListContext) DefcalOperand(i int) IDefcalOperandContext
func (*DefcalOperandListContext) EnterRule ¶
func (s *DefcalOperandListContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefcalOperandListContext) ExitRule ¶
func (s *DefcalOperandListContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefcalOperandListContext) GetParser ¶
func (s *DefcalOperandListContext) GetParser() antlr.Parser
func (*DefcalOperandListContext) GetRuleContext ¶
func (s *DefcalOperandListContext) GetRuleContext() antlr.RuleContext
func (*DefcalOperandListContext) IsDefcalOperandListContext ¶
func (*DefcalOperandListContext) IsDefcalOperandListContext()
func (*DefcalOperandListContext) ToStringTree ¶
func (s *DefcalOperandListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefcalStatementContext ¶
type DefcalStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefcalStatementContext ¶
func NewDefcalStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefcalStatementContext
func NewEmptyDefcalStatementContext ¶
func NewEmptyDefcalStatementContext() *DefcalStatementContext
func (*DefcalStatementContext) Accept ¶
func (s *DefcalStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefcalStatementContext) CalibrationBlock ¶
func (s *DefcalStatementContext) CalibrationBlock() antlr.TerminalNode
func (*DefcalStatementContext) DEFCAL ¶
func (s *DefcalStatementContext) DEFCAL() antlr.TerminalNode
func (*DefcalStatementContext) DefcalArgumentDefinitionList ¶
func (s *DefcalStatementContext) DefcalArgumentDefinitionList() IDefcalArgumentDefinitionListContext
func (*DefcalStatementContext) DefcalOperandList ¶
func (s *DefcalStatementContext) DefcalOperandList() IDefcalOperandListContext
func (*DefcalStatementContext) DefcalTarget ¶
func (s *DefcalStatementContext) DefcalTarget() IDefcalTargetContext
func (*DefcalStatementContext) EnterRule ¶
func (s *DefcalStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefcalStatementContext) ExitRule ¶
func (s *DefcalStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefcalStatementContext) GetParser ¶
func (s *DefcalStatementContext) GetParser() antlr.Parser
func (*DefcalStatementContext) GetRuleContext ¶
func (s *DefcalStatementContext) GetRuleContext() antlr.RuleContext
func (*DefcalStatementContext) IsDefcalStatementContext ¶
func (*DefcalStatementContext) IsDefcalStatementContext()
func (*DefcalStatementContext) LBRACE ¶
func (s *DefcalStatementContext) LBRACE() antlr.TerminalNode
func (*DefcalStatementContext) LPAREN ¶
func (s *DefcalStatementContext) LPAREN() antlr.TerminalNode
func (*DefcalStatementContext) RBRACE ¶
func (s *DefcalStatementContext) RBRACE() antlr.TerminalNode
func (*DefcalStatementContext) RPAREN ¶
func (s *DefcalStatementContext) RPAREN() antlr.TerminalNode
func (*DefcalStatementContext) ReturnSignature ¶
func (s *DefcalStatementContext) ReturnSignature() IReturnSignatureContext
func (*DefcalStatementContext) ToStringTree ¶
func (s *DefcalStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DefcalTargetContext ¶
type DefcalTargetContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDefcalTargetContext ¶
func NewDefcalTargetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefcalTargetContext
func NewEmptyDefcalTargetContext ¶
func NewEmptyDefcalTargetContext() *DefcalTargetContext
func (*DefcalTargetContext) Accept ¶
func (s *DefcalTargetContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DefcalTargetContext) DELAY ¶
func (s *DefcalTargetContext) DELAY() antlr.TerminalNode
func (*DefcalTargetContext) EnterRule ¶
func (s *DefcalTargetContext) EnterRule(listener antlr.ParseTreeListener)
func (*DefcalTargetContext) ExitRule ¶
func (s *DefcalTargetContext) ExitRule(listener antlr.ParseTreeListener)
func (*DefcalTargetContext) GetParser ¶
func (s *DefcalTargetContext) GetParser() antlr.Parser
func (*DefcalTargetContext) GetRuleContext ¶
func (s *DefcalTargetContext) GetRuleContext() antlr.RuleContext
func (*DefcalTargetContext) Identifier ¶
func (s *DefcalTargetContext) Identifier() antlr.TerminalNode
func (*DefcalTargetContext) IsDefcalTargetContext ¶
func (*DefcalTargetContext) IsDefcalTargetContext()
func (*DefcalTargetContext) MEASURE ¶
func (s *DefcalTargetContext) MEASURE() antlr.TerminalNode
func (*DefcalTargetContext) RESET ¶
func (s *DefcalTargetContext) RESET() antlr.TerminalNode
func (*DefcalTargetContext) ToStringTree ¶
func (s *DefcalTargetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DelayStatementContext ¶
type DelayStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDelayStatementContext ¶
func NewDelayStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DelayStatementContext
func NewEmptyDelayStatementContext ¶
func NewEmptyDelayStatementContext() *DelayStatementContext
func (*DelayStatementContext) Accept ¶
func (s *DelayStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DelayStatementContext) DELAY ¶
func (s *DelayStatementContext) DELAY() antlr.TerminalNode
func (*DelayStatementContext) Designator ¶
func (s *DelayStatementContext) Designator() IDesignatorContext
func (*DelayStatementContext) EnterRule ¶
func (s *DelayStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*DelayStatementContext) ExitRule ¶
func (s *DelayStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*DelayStatementContext) GateOperandList ¶
func (s *DelayStatementContext) GateOperandList() IGateOperandListContext
func (*DelayStatementContext) GetParser ¶
func (s *DelayStatementContext) GetParser() antlr.Parser
func (*DelayStatementContext) GetRuleContext ¶
func (s *DelayStatementContext) GetRuleContext() antlr.RuleContext
func (*DelayStatementContext) IsDelayStatementContext ¶
func (*DelayStatementContext) IsDelayStatementContext()
func (*DelayStatementContext) SEMICOLON ¶
func (s *DelayStatementContext) SEMICOLON() antlr.TerminalNode
func (*DelayStatementContext) ToStringTree ¶
func (s *DelayStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DesignatorContext ¶
type DesignatorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDesignatorContext ¶
func NewDesignatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DesignatorContext
func NewEmptyDesignatorContext ¶
func NewEmptyDesignatorContext() *DesignatorContext
func (*DesignatorContext) Accept ¶
func (s *DesignatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DesignatorContext) EnterRule ¶
func (s *DesignatorContext) EnterRule(listener antlr.ParseTreeListener)
func (*DesignatorContext) ExitRule ¶
func (s *DesignatorContext) ExitRule(listener antlr.ParseTreeListener)
func (*DesignatorContext) Expression ¶
func (s *DesignatorContext) Expression() IExpressionContext
func (*DesignatorContext) GetParser ¶
func (s *DesignatorContext) GetParser() antlr.Parser
func (*DesignatorContext) GetRuleContext ¶
func (s *DesignatorContext) GetRuleContext() antlr.RuleContext
func (*DesignatorContext) IsDesignatorContext ¶
func (*DesignatorContext) IsDesignatorContext()
func (*DesignatorContext) LBRACKET ¶
func (s *DesignatorContext) LBRACKET() antlr.TerminalNode
func (*DesignatorContext) RBRACKET ¶
func (s *DesignatorContext) RBRACKET() antlr.TerminalNode
func (*DesignatorContext) ToStringTree ¶
func (s *DesignatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DurationofExpressionContext ¶
type DurationofExpressionContext struct {
ExpressionContext
}
func NewDurationofExpressionContext ¶
func NewDurationofExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DurationofExpressionContext
func (*DurationofExpressionContext) Accept ¶
func (s *DurationofExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DurationofExpressionContext) DURATIONOF ¶
func (s *DurationofExpressionContext) DURATIONOF() antlr.TerminalNode
func (*DurationofExpressionContext) EnterRule ¶
func (s *DurationofExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*DurationofExpressionContext) ExitRule ¶
func (s *DurationofExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*DurationofExpressionContext) GetRuleContext ¶
func (s *DurationofExpressionContext) GetRuleContext() antlr.RuleContext
func (*DurationofExpressionContext) LPAREN ¶
func (s *DurationofExpressionContext) LPAREN() antlr.TerminalNode
func (*DurationofExpressionContext) RPAREN ¶
func (s *DurationofExpressionContext) RPAREN() antlr.TerminalNode
func (*DurationofExpressionContext) Scope ¶
func (s *DurationofExpressionContext) Scope() IScopeContext
type EndStatementContext ¶
type EndStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEndStatementContext ¶
func NewEmptyEndStatementContext() *EndStatementContext
func NewEndStatementContext ¶
func NewEndStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EndStatementContext
func (*EndStatementContext) Accept ¶
func (s *EndStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EndStatementContext) END ¶
func (s *EndStatementContext) END() antlr.TerminalNode
func (*EndStatementContext) EnterRule ¶
func (s *EndStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*EndStatementContext) ExitRule ¶
func (s *EndStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*EndStatementContext) GetParser ¶
func (s *EndStatementContext) GetParser() antlr.Parser
func (*EndStatementContext) GetRuleContext ¶
func (s *EndStatementContext) GetRuleContext() antlr.RuleContext
func (*EndStatementContext) IsEndStatementContext ¶
func (*EndStatementContext) IsEndStatementContext()
func (*EndStatementContext) SEMICOLON ¶
func (s *EndStatementContext) SEMICOLON() antlr.TerminalNode
func (*EndStatementContext) ToStringTree ¶
func (s *EndStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EqualityExpressionContext ¶
type EqualityExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewEqualityExpressionContext ¶
func NewEqualityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualityExpressionContext
func (*EqualityExpressionContext) Accept ¶
func (s *EqualityExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EqualityExpressionContext) AllExpression ¶
func (s *EqualityExpressionContext) AllExpression() []IExpressionContext
func (*EqualityExpressionContext) EnterRule ¶
func (s *EqualityExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*EqualityExpressionContext) EqualityOperator ¶
func (s *EqualityExpressionContext) EqualityOperator() antlr.TerminalNode
func (*EqualityExpressionContext) ExitRule ¶
func (s *EqualityExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*EqualityExpressionContext) Expression ¶
func (s *EqualityExpressionContext) Expression(i int) IExpressionContext
func (*EqualityExpressionContext) GetOp ¶
func (s *EqualityExpressionContext) GetOp() antlr.Token
func (*EqualityExpressionContext) GetRuleContext ¶
func (s *EqualityExpressionContext) GetRuleContext() antlr.RuleContext
func (*EqualityExpressionContext) SetOp ¶
func (s *EqualityExpressionContext) SetOp(v antlr.Token)
type ExpressionContext ¶
type ExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionContext ¶
func NewEmptyExpressionContext() *ExpressionContext
func NewExpressionContext ¶
func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext
func (*ExpressionContext) CopyAll ¶
func (s *ExpressionContext) CopyAll(ctx *ExpressionContext)
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionListContext ¶
type ExpressionListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionListContext ¶
func NewEmptyExpressionListContext() *ExpressionListContext
func NewExpressionListContext ¶
func NewExpressionListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionListContext
func (*ExpressionListContext) Accept ¶
func (s *ExpressionListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionListContext) AllCOMMA ¶
func (s *ExpressionListContext) AllCOMMA() []antlr.TerminalNode
func (*ExpressionListContext) AllExpression ¶
func (s *ExpressionListContext) AllExpression() []IExpressionContext
func (*ExpressionListContext) COMMA ¶
func (s *ExpressionListContext) COMMA(i int) antlr.TerminalNode
func (*ExpressionListContext) EnterRule ¶
func (s *ExpressionListContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpressionListContext) ExitRule ¶
func (s *ExpressionListContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExpressionListContext) Expression ¶
func (s *ExpressionListContext) Expression(i int) IExpressionContext
func (*ExpressionListContext) GetParser ¶
func (s *ExpressionListContext) GetParser() antlr.Parser
func (*ExpressionListContext) GetRuleContext ¶
func (s *ExpressionListContext) GetRuleContext() antlr.RuleContext
func (*ExpressionListContext) IsExpressionListContext ¶
func (*ExpressionListContext) IsExpressionListContext()
func (*ExpressionListContext) ToStringTree ¶
func (s *ExpressionListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionStatementContext ¶
type ExpressionStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionStatementContext ¶
func NewEmptyExpressionStatementContext() *ExpressionStatementContext
func NewExpressionStatementContext ¶
func NewExpressionStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionStatementContext
func (*ExpressionStatementContext) Accept ¶
func (s *ExpressionStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionStatementContext) EnterRule ¶
func (s *ExpressionStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpressionStatementContext) ExitRule ¶
func (s *ExpressionStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExpressionStatementContext) Expression ¶
func (s *ExpressionStatementContext) Expression() IExpressionContext
func (*ExpressionStatementContext) GetParser ¶
func (s *ExpressionStatementContext) GetParser() antlr.Parser
func (*ExpressionStatementContext) GetRuleContext ¶
func (s *ExpressionStatementContext) GetRuleContext() antlr.RuleContext
func (*ExpressionStatementContext) IsExpressionStatementContext ¶
func (*ExpressionStatementContext) IsExpressionStatementContext()
func (*ExpressionStatementContext) SEMICOLON ¶
func (s *ExpressionStatementContext) SEMICOLON() antlr.TerminalNode
func (*ExpressionStatementContext) ToStringTree ¶
func (s *ExpressionStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExternArgumentContext ¶
type ExternArgumentContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExternArgumentContext ¶
func NewEmptyExternArgumentContext() *ExternArgumentContext
func NewExternArgumentContext ¶
func NewExternArgumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExternArgumentContext
func (*ExternArgumentContext) Accept ¶
func (s *ExternArgumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExternArgumentContext) ArrayReferenceType ¶
func (s *ExternArgumentContext) ArrayReferenceType() IArrayReferenceTypeContext
func (*ExternArgumentContext) CREG ¶
func (s *ExternArgumentContext) CREG() antlr.TerminalNode
func (*ExternArgumentContext) Designator ¶
func (s *ExternArgumentContext) Designator() IDesignatorContext
func (*ExternArgumentContext) EnterRule ¶
func (s *ExternArgumentContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExternArgumentContext) ExitRule ¶
func (s *ExternArgumentContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExternArgumentContext) GetParser ¶
func (s *ExternArgumentContext) GetParser() antlr.Parser
func (*ExternArgumentContext) GetRuleContext ¶
func (s *ExternArgumentContext) GetRuleContext() antlr.RuleContext
func (*ExternArgumentContext) IsExternArgumentContext ¶
func (*ExternArgumentContext) IsExternArgumentContext()
func (*ExternArgumentContext) ScalarType ¶
func (s *ExternArgumentContext) ScalarType() IScalarTypeContext
func (*ExternArgumentContext) ToStringTree ¶
func (s *ExternArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExternArgumentListContext ¶
type ExternArgumentListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExternArgumentListContext ¶
func NewEmptyExternArgumentListContext() *ExternArgumentListContext
func NewExternArgumentListContext ¶
func NewExternArgumentListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExternArgumentListContext
func (*ExternArgumentListContext) Accept ¶
func (s *ExternArgumentListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExternArgumentListContext) AllCOMMA ¶
func (s *ExternArgumentListContext) AllCOMMA() []antlr.TerminalNode
func (*ExternArgumentListContext) AllExternArgument ¶
func (s *ExternArgumentListContext) AllExternArgument() []IExternArgumentContext
func (*ExternArgumentListContext) COMMA ¶
func (s *ExternArgumentListContext) COMMA(i int) antlr.TerminalNode
func (*ExternArgumentListContext) EnterRule ¶
func (s *ExternArgumentListContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExternArgumentListContext) ExitRule ¶
func (s *ExternArgumentListContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExternArgumentListContext) ExternArgument ¶
func (s *ExternArgumentListContext) ExternArgument(i int) IExternArgumentContext
func (*ExternArgumentListContext) GetParser ¶
func (s *ExternArgumentListContext) GetParser() antlr.Parser
func (*ExternArgumentListContext) GetRuleContext ¶
func (s *ExternArgumentListContext) GetRuleContext() antlr.RuleContext
func (*ExternArgumentListContext) IsExternArgumentListContext ¶
func (*ExternArgumentListContext) IsExternArgumentListContext()
func (*ExternArgumentListContext) ToStringTree ¶
func (s *ExternArgumentListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExternStatementContext ¶
type ExternStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExternStatementContext ¶
func NewEmptyExternStatementContext() *ExternStatementContext
func NewExternStatementContext ¶
func NewExternStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExternStatementContext
func (*ExternStatementContext) Accept ¶
func (s *ExternStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExternStatementContext) EXTERN ¶
func (s *ExternStatementContext) EXTERN() antlr.TerminalNode
func (*ExternStatementContext) EnterRule ¶
func (s *ExternStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExternStatementContext) ExitRule ¶
func (s *ExternStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExternStatementContext) ExternArgumentList ¶
func (s *ExternStatementContext) ExternArgumentList() IExternArgumentListContext
func (*ExternStatementContext) GetParser ¶
func (s *ExternStatementContext) GetParser() antlr.Parser
func (*ExternStatementContext) GetRuleContext ¶
func (s *ExternStatementContext) GetRuleContext() antlr.RuleContext
func (*ExternStatementContext) Identifier ¶
func (s *ExternStatementContext) Identifier() antlr.TerminalNode
func (*ExternStatementContext) IsExternStatementContext ¶
func (*ExternStatementContext) IsExternStatementContext()
func (*ExternStatementContext) LPAREN ¶
func (s *ExternStatementContext) LPAREN() antlr.TerminalNode
func (*ExternStatementContext) RPAREN ¶
func (s *ExternStatementContext) RPAREN() antlr.TerminalNode
func (*ExternStatementContext) ReturnSignature ¶
func (s *ExternStatementContext) ReturnSignature() IReturnSignatureContext
func (*ExternStatementContext) SEMICOLON ¶
func (s *ExternStatementContext) SEMICOLON() antlr.TerminalNode
func (*ExternStatementContext) ToStringTree ¶
func (s *ExternStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ForStatementContext ¶
type ForStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyForStatementContext ¶
func NewEmptyForStatementContext() *ForStatementContext
func NewForStatementContext ¶
func NewForStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForStatementContext
func (*ForStatementContext) Accept ¶
func (s *ForStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ForStatementContext) EnterRule ¶
func (s *ForStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ForStatementContext) ExitRule ¶
func (s *ForStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ForStatementContext) Expression ¶
func (s *ForStatementContext) Expression() IExpressionContext
func (*ForStatementContext) FOR ¶
func (s *ForStatementContext) FOR() antlr.TerminalNode
func (*ForStatementContext) GetBody ¶
func (s *ForStatementContext) GetBody() IStatementOrScopeContext
func (*ForStatementContext) GetParser ¶
func (s *ForStatementContext) GetParser() antlr.Parser
func (*ForStatementContext) GetRuleContext ¶
func (s *ForStatementContext) GetRuleContext() antlr.RuleContext
func (*ForStatementContext) IN ¶
func (s *ForStatementContext) IN() antlr.TerminalNode
func (*ForStatementContext) Identifier ¶
func (s *ForStatementContext) Identifier() antlr.TerminalNode
func (*ForStatementContext) IsForStatementContext ¶
func (*ForStatementContext) IsForStatementContext()
func (*ForStatementContext) LBRACKET ¶
func (s *ForStatementContext) LBRACKET() antlr.TerminalNode
func (*ForStatementContext) RBRACKET ¶
func (s *ForStatementContext) RBRACKET() antlr.TerminalNode
func (*ForStatementContext) RangeExpression ¶
func (s *ForStatementContext) RangeExpression() IRangeExpressionContext
func (*ForStatementContext) ScalarType ¶
func (s *ForStatementContext) ScalarType() IScalarTypeContext
func (*ForStatementContext) SetBody ¶
func (s *ForStatementContext) SetBody(v IStatementOrScopeContext)
func (*ForStatementContext) SetExpression ¶
func (s *ForStatementContext) SetExpression() ISetExpressionContext
func (*ForStatementContext) StatementOrScope ¶
func (s *ForStatementContext) StatementOrScope() IStatementOrScopeContext
func (*ForStatementContext) ToStringTree ¶
func (s *ForStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GateCallStatementContext ¶
type GateCallStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGateCallStatementContext ¶
func NewEmptyGateCallStatementContext() *GateCallStatementContext
func NewGateCallStatementContext ¶
func NewGateCallStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GateCallStatementContext
func (*GateCallStatementContext) Accept ¶
func (s *GateCallStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GateCallStatementContext) AllGateModifier ¶
func (s *GateCallStatementContext) AllGateModifier() []IGateModifierContext
func (*GateCallStatementContext) Designator ¶
func (s *GateCallStatementContext) Designator() IDesignatorContext
func (*GateCallStatementContext) EnterRule ¶
func (s *GateCallStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*GateCallStatementContext) ExitRule ¶
func (s *GateCallStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*GateCallStatementContext) ExpressionList ¶
func (s *GateCallStatementContext) ExpressionList() IExpressionListContext
func (*GateCallStatementContext) GPHASE ¶
func (s *GateCallStatementContext) GPHASE() antlr.TerminalNode
func (*GateCallStatementContext) GateModifier ¶
func (s *GateCallStatementContext) GateModifier(i int) IGateModifierContext
func (*GateCallStatementContext) GateOperandList ¶
func (s *GateCallStatementContext) GateOperandList() IGateOperandListContext
func (*GateCallStatementContext) GetParser ¶
func (s *GateCallStatementContext) GetParser() antlr.Parser
func (*GateCallStatementContext) GetRuleContext ¶
func (s *GateCallStatementContext) GetRuleContext() antlr.RuleContext
func (*GateCallStatementContext) Identifier ¶
func (s *GateCallStatementContext) Identifier() antlr.TerminalNode
func (*GateCallStatementContext) IsGateCallStatementContext ¶
func (*GateCallStatementContext) IsGateCallStatementContext()
func (*GateCallStatementContext) LPAREN ¶
func (s *GateCallStatementContext) LPAREN() antlr.TerminalNode
func (*GateCallStatementContext) RPAREN ¶
func (s *GateCallStatementContext) RPAREN() antlr.TerminalNode
func (*GateCallStatementContext) SEMICOLON ¶
func (s *GateCallStatementContext) SEMICOLON() antlr.TerminalNode
func (*GateCallStatementContext) ToStringTree ¶
func (s *GateCallStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GateModifierContext ¶
type GateModifierContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGateModifierContext ¶
func NewEmptyGateModifierContext() *GateModifierContext
func NewGateModifierContext ¶
func NewGateModifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GateModifierContext
func (*GateModifierContext) AT ¶
func (s *GateModifierContext) AT() antlr.TerminalNode
func (*GateModifierContext) Accept ¶
func (s *GateModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GateModifierContext) CTRL ¶
func (s *GateModifierContext) CTRL() antlr.TerminalNode
func (*GateModifierContext) EnterRule ¶
func (s *GateModifierContext) EnterRule(listener antlr.ParseTreeListener)
func (*GateModifierContext) ExitRule ¶
func (s *GateModifierContext) ExitRule(listener antlr.ParseTreeListener)
func (*GateModifierContext) Expression ¶
func (s *GateModifierContext) Expression() IExpressionContext
func (*GateModifierContext) GetParser ¶
func (s *GateModifierContext) GetParser() antlr.Parser
func (*GateModifierContext) GetRuleContext ¶
func (s *GateModifierContext) GetRuleContext() antlr.RuleContext
func (*GateModifierContext) INV ¶
func (s *GateModifierContext) INV() antlr.TerminalNode
func (*GateModifierContext) IsGateModifierContext ¶
func (*GateModifierContext) IsGateModifierContext()
func (*GateModifierContext) LPAREN ¶
func (s *GateModifierContext) LPAREN() antlr.TerminalNode
func (*GateModifierContext) NEGCTRL ¶
func (s *GateModifierContext) NEGCTRL() antlr.TerminalNode
func (*GateModifierContext) POW ¶
func (s *GateModifierContext) POW() antlr.TerminalNode
func (*GateModifierContext) RPAREN ¶
func (s *GateModifierContext) RPAREN() antlr.TerminalNode
func (*GateModifierContext) ToStringTree ¶
func (s *GateModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GateOperandContext ¶
type GateOperandContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGateOperandContext ¶
func NewEmptyGateOperandContext() *GateOperandContext
func NewGateOperandContext ¶
func NewGateOperandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GateOperandContext
func (*GateOperandContext) Accept ¶
func (s *GateOperandContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GateOperandContext) EnterRule ¶
func (s *GateOperandContext) EnterRule(listener antlr.ParseTreeListener)
func (*GateOperandContext) ExitRule ¶
func (s *GateOperandContext) ExitRule(listener antlr.ParseTreeListener)
func (*GateOperandContext) GetParser ¶
func (s *GateOperandContext) GetParser() antlr.Parser
func (*GateOperandContext) GetRuleContext ¶
func (s *GateOperandContext) GetRuleContext() antlr.RuleContext
func (*GateOperandContext) HardwareQubit ¶
func (s *GateOperandContext) HardwareQubit() antlr.TerminalNode
func (*GateOperandContext) IndexedIdentifier ¶
func (s *GateOperandContext) IndexedIdentifier() IIndexedIdentifierContext
func (*GateOperandContext) IsGateOperandContext ¶
func (*GateOperandContext) IsGateOperandContext()
func (*GateOperandContext) ToStringTree ¶
func (s *GateOperandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GateOperandListContext ¶
type GateOperandListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGateOperandListContext ¶
func NewEmptyGateOperandListContext() *GateOperandListContext
func NewGateOperandListContext ¶
func NewGateOperandListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GateOperandListContext
func (*GateOperandListContext) Accept ¶
func (s *GateOperandListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GateOperandListContext) AllCOMMA ¶
func (s *GateOperandListContext) AllCOMMA() []antlr.TerminalNode
func (*GateOperandListContext) AllGateOperand ¶
func (s *GateOperandListContext) AllGateOperand() []IGateOperandContext
func (*GateOperandListContext) COMMA ¶
func (s *GateOperandListContext) COMMA(i int) antlr.TerminalNode
func (*GateOperandListContext) EnterRule ¶
func (s *GateOperandListContext) EnterRule(listener antlr.ParseTreeListener)
func (*GateOperandListContext) ExitRule ¶
func (s *GateOperandListContext) ExitRule(listener antlr.ParseTreeListener)
func (*GateOperandListContext) GateOperand ¶
func (s *GateOperandListContext) GateOperand(i int) IGateOperandContext
func (*GateOperandListContext) GetParser ¶
func (s *GateOperandListContext) GetParser() antlr.Parser
func (*GateOperandListContext) GetRuleContext ¶
func (s *GateOperandListContext) GetRuleContext() antlr.RuleContext
func (*GateOperandListContext) IsGateOperandListContext ¶
func (*GateOperandListContext) IsGateOperandListContext()
func (*GateOperandListContext) ToStringTree ¶
func (s *GateOperandListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GateStatementContext ¶
type GateStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGateStatementContext ¶
func NewEmptyGateStatementContext() *GateStatementContext
func NewGateStatementContext ¶
func NewGateStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GateStatementContext
func (*GateStatementContext) Accept ¶
func (s *GateStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GateStatementContext) AllIdentifierList ¶
func (s *GateStatementContext) AllIdentifierList() []IIdentifierListContext
func (*GateStatementContext) EnterRule ¶
func (s *GateStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*GateStatementContext) ExitRule ¶
func (s *GateStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*GateStatementContext) GATE ¶
func (s *GateStatementContext) GATE() antlr.TerminalNode
func (*GateStatementContext) GetParams ¶
func (s *GateStatementContext) GetParams() IIdentifierListContext
func (*GateStatementContext) GetParser ¶
func (s *GateStatementContext) GetParser() antlr.Parser
func (*GateStatementContext) GetQubits ¶
func (s *GateStatementContext) GetQubits() IIdentifierListContext
func (*GateStatementContext) GetRuleContext ¶
func (s *GateStatementContext) GetRuleContext() antlr.RuleContext
func (*GateStatementContext) Identifier ¶
func (s *GateStatementContext) Identifier() antlr.TerminalNode
func (*GateStatementContext) IdentifierList ¶
func (s *GateStatementContext) IdentifierList(i int) IIdentifierListContext
func (*GateStatementContext) IsGateStatementContext ¶
func (*GateStatementContext) IsGateStatementContext()
func (*GateStatementContext) LPAREN ¶
func (s *GateStatementContext) LPAREN() antlr.TerminalNode
func (*GateStatementContext) RPAREN ¶
func (s *GateStatementContext) RPAREN() antlr.TerminalNode
func (*GateStatementContext) Scope ¶
func (s *GateStatementContext) Scope() IScopeContext
func (*GateStatementContext) SetParams ¶
func (s *GateStatementContext) SetParams(v IIdentifierListContext)
func (*GateStatementContext) SetQubits ¶
func (s *GateStatementContext) SetQubits(v IIdentifierListContext)
func (*GateStatementContext) ToStringTree ¶
func (s *GateStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAliasDeclarationStatementContext ¶
type IAliasDeclarationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LET() antlr.TerminalNode Identifier() antlr.TerminalNode EQUALS() antlr.TerminalNode AliasExpression() IAliasExpressionContext SEMICOLON() antlr.TerminalNode // IsAliasDeclarationStatementContext differentiates from other interfaces. IsAliasDeclarationStatementContext() }
IAliasDeclarationStatementContext is an interface to support dynamic dispatch.
type IAliasExpressionContext ¶
type IAliasExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllExpression() []IExpressionContext Expression(i int) IExpressionContext AllDOUBLE_PLUS() []antlr.TerminalNode DOUBLE_PLUS(i int) antlr.TerminalNode // IsAliasExpressionContext differentiates from other interfaces. IsAliasExpressionContext() }
IAliasExpressionContext is an interface to support dynamic dispatch.
type IAnnotationContext ¶
type IAnnotationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AnnotationKeyword() antlr.TerminalNode RemainingLineContent() antlr.TerminalNode // IsAnnotationContext differentiates from other interfaces. IsAnnotationContext() }
IAnnotationContext is an interface to support dynamic dispatch.
type IArgumentDefinitionContext ¶
type IArgumentDefinitionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ScalarType() IScalarTypeContext Identifier() antlr.TerminalNode QubitType() IQubitTypeContext CREG() antlr.TerminalNode QREG() antlr.TerminalNode Designator() IDesignatorContext ArrayReferenceType() IArrayReferenceTypeContext // IsArgumentDefinitionContext differentiates from other interfaces. IsArgumentDefinitionContext() }
IArgumentDefinitionContext is an interface to support dynamic dispatch.
type IArgumentDefinitionListContext ¶
type IArgumentDefinitionListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllArgumentDefinition() []IArgumentDefinitionContext ArgumentDefinition(i int) IArgumentDefinitionContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsArgumentDefinitionListContext differentiates from other interfaces. IsArgumentDefinitionListContext() }
IArgumentDefinitionListContext is an interface to support dynamic dispatch.
type IArrayLiteralContext ¶
type IArrayLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACE() antlr.TerminalNode RBRACE() antlr.TerminalNode AllExpression() []IExpressionContext Expression(i int) IExpressionContext AllArrayLiteral() []IArrayLiteralContext ArrayLiteral(i int) IArrayLiteralContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsArrayLiteralContext differentiates from other interfaces. IsArrayLiteralContext() }
IArrayLiteralContext is an interface to support dynamic dispatch.
type IArrayReferenceTypeContext ¶
type IArrayReferenceTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ARRAY() antlr.TerminalNode LBRACKET() antlr.TerminalNode ScalarType() IScalarTypeContext COMMA() antlr.TerminalNode RBRACKET() antlr.TerminalNode READONLY() antlr.TerminalNode MUTABLE() antlr.TerminalNode ExpressionList() IExpressionListContext DIM() antlr.TerminalNode EQUALS() antlr.TerminalNode Expression() IExpressionContext // IsArrayReferenceTypeContext differentiates from other interfaces. IsArrayReferenceTypeContext() }
IArrayReferenceTypeContext is an interface to support dynamic dispatch.
type IArrayTypeContext ¶
type IArrayTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ARRAY() antlr.TerminalNode LBRACKET() antlr.TerminalNode ScalarType() IScalarTypeContext COMMA() antlr.TerminalNode ExpressionList() IExpressionListContext RBRACKET() antlr.TerminalNode // IsArrayTypeContext differentiates from other interfaces. IsArrayTypeContext() }
IArrayTypeContext is an interface to support dynamic dispatch.
type IAssignmentStatementContext ¶
type IAssignmentStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOp returns the op token. GetOp() antlr.Token // SetOp sets the op token. SetOp(antlr.Token) // Getter signatures IndexedIdentifier() IIndexedIdentifierContext SEMICOLON() antlr.TerminalNode EQUALS() antlr.TerminalNode CompoundAssignmentOperator() antlr.TerminalNode Expression() IExpressionContext MeasureExpression() IMeasureExpressionContext // IsAssignmentStatementContext differentiates from other interfaces. IsAssignmentStatementContext() }
IAssignmentStatementContext is an interface to support dynamic dispatch.
type IBarrierStatementContext ¶
type IBarrierStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BARRIER() antlr.TerminalNode SEMICOLON() antlr.TerminalNode GateOperandList() IGateOperandListContext // IsBarrierStatementContext differentiates from other interfaces. IsBarrierStatementContext() }
IBarrierStatementContext is an interface to support dynamic dispatch.
type IBoxStatementContext ¶
type IBoxStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BOX() antlr.TerminalNode Scope() IScopeContext Designator() IDesignatorContext // IsBoxStatementContext differentiates from other interfaces. IsBoxStatementContext() }
IBoxStatementContext is an interface to support dynamic dispatch.
type IBreakStatementContext ¶
type IBreakStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BREAK() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsBreakStatementContext differentiates from other interfaces. IsBreakStatementContext() }
IBreakStatementContext is an interface to support dynamic dispatch.
type ICalStatementContext ¶
type ICalStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures CAL() antlr.TerminalNode LBRACE() antlr.TerminalNode RBRACE() antlr.TerminalNode CalibrationBlock() antlr.TerminalNode // IsCalStatementContext differentiates from other interfaces. IsCalStatementContext() }
ICalStatementContext is an interface to support dynamic dispatch.
type ICalibrationGrammarStatementContext ¶
type ICalibrationGrammarStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DEFCALGRAMMAR() antlr.TerminalNode StringLiteral() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsCalibrationGrammarStatementContext differentiates from other interfaces. IsCalibrationGrammarStatementContext() }
ICalibrationGrammarStatementContext is an interface to support dynamic dispatch.
type IClassicalDeclarationStatementContext ¶
type IClassicalDeclarationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() antlr.TerminalNode SEMICOLON() antlr.TerminalNode ScalarType() IScalarTypeContext ArrayType() IArrayTypeContext EQUALS() antlr.TerminalNode DeclarationExpression() IDeclarationExpressionContext // IsClassicalDeclarationStatementContext differentiates from other interfaces. IsClassicalDeclarationStatementContext() }
IClassicalDeclarationStatementContext is an interface to support dynamic dispatch.
type IConstDeclarationStatementContext ¶
type IConstDeclarationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures CONST() antlr.TerminalNode ScalarType() IScalarTypeContext Identifier() antlr.TerminalNode EQUALS() antlr.TerminalNode DeclarationExpression() IDeclarationExpressionContext SEMICOLON() antlr.TerminalNode // IsConstDeclarationStatementContext differentiates from other interfaces. IsConstDeclarationStatementContext() }
IConstDeclarationStatementContext is an interface to support dynamic dispatch.
type IContinueStatementContext ¶
type IContinueStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures CONTINUE() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsContinueStatementContext differentiates from other interfaces. IsContinueStatementContext() }
IContinueStatementContext is an interface to support dynamic dispatch.
type IDeclarationExpressionContext ¶
type IDeclarationExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ArrayLiteral() IArrayLiteralContext Expression() IExpressionContext MeasureExpression() IMeasureExpressionContext // IsDeclarationExpressionContext differentiates from other interfaces. IsDeclarationExpressionContext() }
IDeclarationExpressionContext is an interface to support dynamic dispatch.
type IDefStatementContext ¶
type IDefStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DEF() antlr.TerminalNode Identifier() antlr.TerminalNode LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode Scope() IScopeContext ArgumentDefinitionList() IArgumentDefinitionListContext ReturnSignature() IReturnSignatureContext // IsDefStatementContext differentiates from other interfaces. IsDefStatementContext() }
IDefStatementContext is an interface to support dynamic dispatch.
type IDefcalArgumentDefinitionContext ¶
type IDefcalArgumentDefinitionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Expression() IExpressionContext ArgumentDefinition() IArgumentDefinitionContext // IsDefcalArgumentDefinitionContext differentiates from other interfaces. IsDefcalArgumentDefinitionContext() }
IDefcalArgumentDefinitionContext is an interface to support dynamic dispatch.
type IDefcalArgumentDefinitionListContext ¶
type IDefcalArgumentDefinitionListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllDefcalArgumentDefinition() []IDefcalArgumentDefinitionContext DefcalArgumentDefinition(i int) IDefcalArgumentDefinitionContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsDefcalArgumentDefinitionListContext differentiates from other interfaces. IsDefcalArgumentDefinitionListContext() }
IDefcalArgumentDefinitionListContext is an interface to support dynamic dispatch.
type IDefcalOperandContext ¶
type IDefcalOperandContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HardwareQubit() antlr.TerminalNode Identifier() antlr.TerminalNode // IsDefcalOperandContext differentiates from other interfaces. IsDefcalOperandContext() }
IDefcalOperandContext is an interface to support dynamic dispatch.
type IDefcalOperandListContext ¶
type IDefcalOperandListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllDefcalOperand() []IDefcalOperandContext DefcalOperand(i int) IDefcalOperandContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsDefcalOperandListContext differentiates from other interfaces. IsDefcalOperandListContext() }
IDefcalOperandListContext is an interface to support dynamic dispatch.
type IDefcalStatementContext ¶
type IDefcalStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DEFCAL() antlr.TerminalNode DefcalTarget() IDefcalTargetContext DefcalOperandList() IDefcalOperandListContext LBRACE() antlr.TerminalNode RBRACE() antlr.TerminalNode LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode ReturnSignature() IReturnSignatureContext CalibrationBlock() antlr.TerminalNode DefcalArgumentDefinitionList() IDefcalArgumentDefinitionListContext // IsDefcalStatementContext differentiates from other interfaces. IsDefcalStatementContext() }
IDefcalStatementContext is an interface to support dynamic dispatch.
type IDefcalTargetContext ¶
type IDefcalTargetContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MEASURE() antlr.TerminalNode RESET() antlr.TerminalNode DELAY() antlr.TerminalNode Identifier() antlr.TerminalNode // IsDefcalTargetContext differentiates from other interfaces. IsDefcalTargetContext() }
IDefcalTargetContext is an interface to support dynamic dispatch.
type IDelayStatementContext ¶
type IDelayStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DELAY() antlr.TerminalNode Designator() IDesignatorContext SEMICOLON() antlr.TerminalNode GateOperandList() IGateOperandListContext // IsDelayStatementContext differentiates from other interfaces. IsDelayStatementContext() }
IDelayStatementContext is an interface to support dynamic dispatch.
type IDesignatorContext ¶
type IDesignatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACKET() antlr.TerminalNode Expression() IExpressionContext RBRACKET() antlr.TerminalNode // IsDesignatorContext differentiates from other interfaces. IsDesignatorContext() }
IDesignatorContext is an interface to support dynamic dispatch.
type IEndStatementContext ¶
type IEndStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures END() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsEndStatementContext differentiates from other interfaces. IsEndStatementContext() }
IEndStatementContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IExpressionListContext ¶
type IExpressionListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllExpression() []IExpressionContext Expression(i int) IExpressionContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsExpressionListContext differentiates from other interfaces. IsExpressionListContext() }
IExpressionListContext is an interface to support dynamic dispatch.
type IExpressionStatementContext ¶
type IExpressionStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Expression() IExpressionContext SEMICOLON() antlr.TerminalNode // IsExpressionStatementContext differentiates from other interfaces. IsExpressionStatementContext() }
IExpressionStatementContext is an interface to support dynamic dispatch.
type IExternArgumentContext ¶
type IExternArgumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ScalarType() IScalarTypeContext ArrayReferenceType() IArrayReferenceTypeContext CREG() antlr.TerminalNode Designator() IDesignatorContext // IsExternArgumentContext differentiates from other interfaces. IsExternArgumentContext() }
IExternArgumentContext is an interface to support dynamic dispatch.
type IExternArgumentListContext ¶
type IExternArgumentListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllExternArgument() []IExternArgumentContext ExternArgument(i int) IExternArgumentContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsExternArgumentListContext differentiates from other interfaces. IsExternArgumentListContext() }
IExternArgumentListContext is an interface to support dynamic dispatch.
type IExternStatementContext ¶
type IExternStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EXTERN() antlr.TerminalNode Identifier() antlr.TerminalNode LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode SEMICOLON() antlr.TerminalNode ExternArgumentList() IExternArgumentListContext ReturnSignature() IReturnSignatureContext // IsExternStatementContext differentiates from other interfaces. IsExternStatementContext() }
IExternStatementContext is an interface to support dynamic dispatch.
type IForStatementContext ¶
type IForStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetBody returns the body rule contexts. GetBody() IStatementOrScopeContext // SetBody sets the body rule contexts. SetBody(IStatementOrScopeContext) // Getter signatures FOR() antlr.TerminalNode ScalarType() IScalarTypeContext Identifier() antlr.TerminalNode IN() antlr.TerminalNode StatementOrScope() IStatementOrScopeContext SetExpression() ISetExpressionContext LBRACKET() antlr.TerminalNode RangeExpression() IRangeExpressionContext RBRACKET() antlr.TerminalNode Expression() IExpressionContext // IsForStatementContext differentiates from other interfaces. IsForStatementContext() }
IForStatementContext is an interface to support dynamic dispatch.
type IGateCallStatementContext ¶
type IGateCallStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() antlr.TerminalNode GateOperandList() IGateOperandListContext SEMICOLON() antlr.TerminalNode AllGateModifier() []IGateModifierContext GateModifier(i int) IGateModifierContext LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode Designator() IDesignatorContext ExpressionList() IExpressionListContext GPHASE() antlr.TerminalNode // IsGateCallStatementContext differentiates from other interfaces. IsGateCallStatementContext() }
IGateCallStatementContext is an interface to support dynamic dispatch.
type IGateModifierContext ¶
type IGateModifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AT() antlr.TerminalNode INV() antlr.TerminalNode POW() antlr.TerminalNode LPAREN() antlr.TerminalNode Expression() IExpressionContext RPAREN() antlr.TerminalNode CTRL() antlr.TerminalNode NEGCTRL() antlr.TerminalNode // IsGateModifierContext differentiates from other interfaces. IsGateModifierContext() }
IGateModifierContext is an interface to support dynamic dispatch.
type IGateOperandContext ¶
type IGateOperandContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures IndexedIdentifier() IIndexedIdentifierContext HardwareQubit() antlr.TerminalNode // IsGateOperandContext differentiates from other interfaces. IsGateOperandContext() }
IGateOperandContext is an interface to support dynamic dispatch.
type IGateOperandListContext ¶
type IGateOperandListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllGateOperand() []IGateOperandContext GateOperand(i int) IGateOperandContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsGateOperandListContext differentiates from other interfaces. IsGateOperandListContext() }
IGateOperandListContext is an interface to support dynamic dispatch.
type IGateStatementContext ¶
type IGateStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetParams returns the params rule contexts. GetParams() IIdentifierListContext // GetQubits returns the qubits rule contexts. GetQubits() IIdentifierListContext // SetParams sets the params rule contexts. SetParams(IIdentifierListContext) // SetQubits sets the qubits rule contexts. SetQubits(IIdentifierListContext) // Getter signatures GATE() antlr.TerminalNode Identifier() antlr.TerminalNode Scope() IScopeContext AllIdentifierList() []IIdentifierListContext IdentifierList(i int) IIdentifierListContext LPAREN() antlr.TerminalNode RPAREN() antlr.TerminalNode // IsGateStatementContext differentiates from other interfaces. IsGateStatementContext() }
IGateStatementContext is an interface to support dynamic dispatch.
type IIdentifierListContext ¶
type IIdentifierListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIdentifier() []antlr.TerminalNode Identifier(i int) antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsIdentifierListContext differentiates from other interfaces. IsIdentifierListContext() }
IIdentifierListContext is an interface to support dynamic dispatch.
type IIfStatementContext ¶
type IIfStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetIf_body returns the if_body rule contexts. GetIf_body() IStatementOrScopeContext // GetElse_body returns the else_body rule contexts. GetElse_body() IStatementOrScopeContext // SetIf_body sets the if_body rule contexts. SetIf_body(IStatementOrScopeContext) // SetElse_body sets the else_body rule contexts. SetElse_body(IStatementOrScopeContext) // Getter signatures IF() antlr.TerminalNode LPAREN() antlr.TerminalNode Expression() IExpressionContext RPAREN() antlr.TerminalNode AllStatementOrScope() []IStatementOrScopeContext StatementOrScope(i int) IStatementOrScopeContext ELSE() antlr.TerminalNode // IsIfStatementContext differentiates from other interfaces. IsIfStatementContext() }
IIfStatementContext is an interface to support dynamic dispatch.
type IIncludeStatementContext ¶
type IIncludeStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures INCLUDE() antlr.TerminalNode StringLiteral() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsIncludeStatementContext differentiates from other interfaces. IsIncludeStatementContext() }
IIncludeStatementContext is an interface to support dynamic dispatch.
type IIndexOperatorContext ¶
type IIndexOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACKET() antlr.TerminalNode RBRACKET() antlr.TerminalNode SetExpression() ISetExpressionContext AllExpression() []IExpressionContext Expression(i int) IExpressionContext AllRangeExpression() []IRangeExpressionContext RangeExpression(i int) IRangeExpressionContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsIndexOperatorContext differentiates from other interfaces. IsIndexOperatorContext() }
IIndexOperatorContext is an interface to support dynamic dispatch.
type IIndexedIdentifierContext ¶
type IIndexedIdentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() antlr.TerminalNode AllIndexOperator() []IIndexOperatorContext IndexOperator(i int) IIndexOperatorContext // IsIndexedIdentifierContext differentiates from other interfaces. IsIndexedIdentifierContext() }
IIndexedIdentifierContext is an interface to support dynamic dispatch.
type IIoDeclarationStatementContext ¶
type IIoDeclarationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() antlr.TerminalNode SEMICOLON() antlr.TerminalNode INPUT() antlr.TerminalNode OUTPUT() antlr.TerminalNode ScalarType() IScalarTypeContext ArrayType() IArrayTypeContext // IsIoDeclarationStatementContext differentiates from other interfaces. IsIoDeclarationStatementContext() }
IIoDeclarationStatementContext is an interface to support dynamic dispatch.
type IMeasureArrowAssignmentStatementContext ¶
type IMeasureArrowAssignmentStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MeasureExpression() IMeasureExpressionContext SEMICOLON() antlr.TerminalNode ARROW() antlr.TerminalNode IndexedIdentifier() IIndexedIdentifierContext // IsMeasureArrowAssignmentStatementContext differentiates from other interfaces. IsMeasureArrowAssignmentStatementContext() }
IMeasureArrowAssignmentStatementContext is an interface to support dynamic dispatch.
type IMeasureExpressionContext ¶
type IMeasureExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures MEASURE() antlr.TerminalNode GateOperand() IGateOperandContext // IsMeasureExpressionContext differentiates from other interfaces. IsMeasureExpressionContext() }
IMeasureExpressionContext is an interface to support dynamic dispatch.
type IOldStyleDeclarationStatementContext ¶
type IOldStyleDeclarationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Identifier() antlr.TerminalNode SEMICOLON() antlr.TerminalNode CREG() antlr.TerminalNode QREG() antlr.TerminalNode Designator() IDesignatorContext // IsOldStyleDeclarationStatementContext differentiates from other interfaces. IsOldStyleDeclarationStatementContext() }
IOldStyleDeclarationStatementContext is an interface to support dynamic dispatch.
type IPragmaContext ¶
type IPragmaContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PRAGMA() antlr.TerminalNode RemainingLineContent() antlr.TerminalNode // IsPragmaContext differentiates from other interfaces. IsPragmaContext() }
IPragmaContext is an interface to support dynamic dispatch.
type IProgramContext ¶
type IProgramContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EOF() antlr.TerminalNode Version() IVersionContext AllStatementOrScope() []IStatementOrScopeContext StatementOrScope(i int) IStatementOrScopeContext // IsProgramContext differentiates from other interfaces. IsProgramContext() }
IProgramContext is an interface to support dynamic dispatch.
type IQuantumDeclarationStatementContext ¶
type IQuantumDeclarationStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures QubitType() IQubitTypeContext Identifier() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsQuantumDeclarationStatementContext differentiates from other interfaces. IsQuantumDeclarationStatementContext() }
IQuantumDeclarationStatementContext is an interface to support dynamic dispatch.
type IQubitTypeContext ¶
type IQubitTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures QUBIT() antlr.TerminalNode Designator() IDesignatorContext // IsQubitTypeContext differentiates from other interfaces. IsQubitTypeContext() }
IQubitTypeContext is an interface to support dynamic dispatch.
type IRangeExpressionContext ¶
type IRangeExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllCOLON() []antlr.TerminalNode COLON(i int) antlr.TerminalNode AllExpression() []IExpressionContext Expression(i int) IExpressionContext // IsRangeExpressionContext differentiates from other interfaces. IsRangeExpressionContext() }
IRangeExpressionContext is an interface to support dynamic dispatch.
type IResetStatementContext ¶
type IResetStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RESET() antlr.TerminalNode GateOperand() IGateOperandContext SEMICOLON() antlr.TerminalNode // IsResetStatementContext differentiates from other interfaces. IsResetStatementContext() }
IResetStatementContext is an interface to support dynamic dispatch.
type IReturnSignatureContext ¶
type IReturnSignatureContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ARROW() antlr.TerminalNode ScalarType() IScalarTypeContext // IsReturnSignatureContext differentiates from other interfaces. IsReturnSignatureContext() }
IReturnSignatureContext is an interface to support dynamic dispatch.
type IReturnStatementContext ¶
type IReturnStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RETURN() antlr.TerminalNode SEMICOLON() antlr.TerminalNode Expression() IExpressionContext MeasureExpression() IMeasureExpressionContext // IsReturnStatementContext differentiates from other interfaces. IsReturnStatementContext() }
IReturnStatementContext is an interface to support dynamic dispatch.
type IScalarTypeContext ¶
type IScalarTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BIT() antlr.TerminalNode Designator() IDesignatorContext INT() antlr.TerminalNode UINT() antlr.TerminalNode FLOAT() antlr.TerminalNode ANGLE() antlr.TerminalNode BOOL() antlr.TerminalNode DURATION() antlr.TerminalNode STRETCH() antlr.TerminalNode COMPLEX() antlr.TerminalNode LBRACKET() antlr.TerminalNode ScalarType() IScalarTypeContext RBRACKET() antlr.TerminalNode // IsScalarTypeContext differentiates from other interfaces. IsScalarTypeContext() }
IScalarTypeContext is an interface to support dynamic dispatch.
type IScopeContext ¶
type IScopeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACE() antlr.TerminalNode RBRACE() antlr.TerminalNode AllStatementOrScope() []IStatementOrScopeContext StatementOrScope(i int) IStatementOrScopeContext // IsScopeContext differentiates from other interfaces. IsScopeContext() }
IScopeContext is an interface to support dynamic dispatch.
type ISetExpressionContext ¶
type ISetExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LBRACE() antlr.TerminalNode AllExpression() []IExpressionContext Expression(i int) IExpressionContext RBRACE() antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsSetExpressionContext differentiates from other interfaces. IsSetExpressionContext() }
ISetExpressionContext is an interface to support dynamic dispatch.
type IStatementContext ¶
type IStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Pragma() IPragmaContext AliasDeclarationStatement() IAliasDeclarationStatementContext AssignmentStatement() IAssignmentStatementContext BarrierStatement() IBarrierStatementContext BoxStatement() IBoxStatementContext BreakStatement() IBreakStatementContext CalStatement() ICalStatementContext CalibrationGrammarStatement() ICalibrationGrammarStatementContext ClassicalDeclarationStatement() IClassicalDeclarationStatementContext ConstDeclarationStatement() IConstDeclarationStatementContext ContinueStatement() IContinueStatementContext DefStatement() IDefStatementContext DefcalStatement() IDefcalStatementContext DelayStatement() IDelayStatementContext EndStatement() IEndStatementContext ExpressionStatement() IExpressionStatementContext ExternStatement() IExternStatementContext ForStatement() IForStatementContext GateCallStatement() IGateCallStatementContext GateStatement() IGateStatementContext IfStatement() IIfStatementContext IncludeStatement() IIncludeStatementContext IoDeclarationStatement() IIoDeclarationStatementContext MeasureArrowAssignmentStatement() IMeasureArrowAssignmentStatementContext OldStyleDeclarationStatement() IOldStyleDeclarationStatementContext QuantumDeclarationStatement() IQuantumDeclarationStatementContext ResetStatement() IResetStatementContext ReturnStatement() IReturnStatementContext SwitchStatement() ISwitchStatementContext WhileStatement() IWhileStatementContext AllAnnotation() []IAnnotationContext Annotation(i int) IAnnotationContext // IsStatementContext differentiates from other interfaces. IsStatementContext() }
IStatementContext is an interface to support dynamic dispatch.
type IStatementOrScopeContext ¶
type IStatementOrScopeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Statement() IStatementContext Scope() IScopeContext // IsStatementOrScopeContext differentiates from other interfaces. IsStatementOrScopeContext() }
IStatementOrScopeContext is an interface to support dynamic dispatch.
type ISwitchCaseItemContext ¶
type ISwitchCaseItemContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures CASE() antlr.TerminalNode ExpressionList() IExpressionListContext Scope() IScopeContext DEFAULT() antlr.TerminalNode // IsSwitchCaseItemContext differentiates from other interfaces. IsSwitchCaseItemContext() }
ISwitchCaseItemContext is an interface to support dynamic dispatch.
type ISwitchStatementContext ¶
type ISwitchStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SWITCH() antlr.TerminalNode LPAREN() antlr.TerminalNode Expression() IExpressionContext RPAREN() antlr.TerminalNode LBRACE() antlr.TerminalNode RBRACE() antlr.TerminalNode AllSwitchCaseItem() []ISwitchCaseItemContext SwitchCaseItem(i int) ISwitchCaseItemContext // IsSwitchStatementContext differentiates from other interfaces. IsSwitchStatementContext() }
ISwitchStatementContext is an interface to support dynamic dispatch.
type IVersionContext ¶
type IVersionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OPENQASM() antlr.TerminalNode VersionSpecifier() antlr.TerminalNode SEMICOLON() antlr.TerminalNode // IsVersionContext differentiates from other interfaces. IsVersionContext() }
IVersionContext is an interface to support dynamic dispatch.
type IWhileStatementContext ¶
type IWhileStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetBody returns the body rule contexts. GetBody() IStatementOrScopeContext // SetBody sets the body rule contexts. SetBody(IStatementOrScopeContext) // Getter signatures WHILE() antlr.TerminalNode LPAREN() antlr.TerminalNode Expression() IExpressionContext RPAREN() antlr.TerminalNode StatementOrScope() IStatementOrScopeContext // IsWhileStatementContext differentiates from other interfaces. IsWhileStatementContext() }
IWhileStatementContext is an interface to support dynamic dispatch.
type IdentifierListContext ¶
type IdentifierListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdentifierListContext ¶
func NewEmptyIdentifierListContext() *IdentifierListContext
func NewIdentifierListContext ¶
func NewIdentifierListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierListContext
func (*IdentifierListContext) Accept ¶
func (s *IdentifierListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdentifierListContext) AllCOMMA ¶
func (s *IdentifierListContext) AllCOMMA() []antlr.TerminalNode
func (*IdentifierListContext) AllIdentifier ¶
func (s *IdentifierListContext) AllIdentifier() []antlr.TerminalNode
func (*IdentifierListContext) COMMA ¶
func (s *IdentifierListContext) COMMA(i int) antlr.TerminalNode
func (*IdentifierListContext) EnterRule ¶
func (s *IdentifierListContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdentifierListContext) ExitRule ¶
func (s *IdentifierListContext) ExitRule(listener antlr.ParseTreeListener)
func (*IdentifierListContext) GetParser ¶
func (s *IdentifierListContext) GetParser() antlr.Parser
func (*IdentifierListContext) GetRuleContext ¶
func (s *IdentifierListContext) GetRuleContext() antlr.RuleContext
func (*IdentifierListContext) Identifier ¶
func (s *IdentifierListContext) Identifier(i int) antlr.TerminalNode
func (*IdentifierListContext) IsIdentifierListContext ¶
func (*IdentifierListContext) IsIdentifierListContext()
func (*IdentifierListContext) ToStringTree ¶
func (s *IdentifierListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IfStatementContext ¶
type IfStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIfStatementContext ¶
func NewEmptyIfStatementContext() *IfStatementContext
func NewIfStatementContext ¶
func NewIfStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfStatementContext
func (*IfStatementContext) Accept ¶
func (s *IfStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IfStatementContext) AllStatementOrScope ¶
func (s *IfStatementContext) AllStatementOrScope() []IStatementOrScopeContext
func (*IfStatementContext) ELSE ¶
func (s *IfStatementContext) ELSE() antlr.TerminalNode
func (*IfStatementContext) EnterRule ¶
func (s *IfStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*IfStatementContext) ExitRule ¶
func (s *IfStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*IfStatementContext) Expression ¶
func (s *IfStatementContext) Expression() IExpressionContext
func (*IfStatementContext) GetElse_body ¶
func (s *IfStatementContext) GetElse_body() IStatementOrScopeContext
func (*IfStatementContext) GetIf_body ¶
func (s *IfStatementContext) GetIf_body() IStatementOrScopeContext
func (*IfStatementContext) GetParser ¶
func (s *IfStatementContext) GetParser() antlr.Parser
func (*IfStatementContext) GetRuleContext ¶
func (s *IfStatementContext) GetRuleContext() antlr.RuleContext
func (*IfStatementContext) IF ¶
func (s *IfStatementContext) IF() antlr.TerminalNode
func (*IfStatementContext) IsIfStatementContext ¶
func (*IfStatementContext) IsIfStatementContext()
func (*IfStatementContext) LPAREN ¶
func (s *IfStatementContext) LPAREN() antlr.TerminalNode
func (*IfStatementContext) RPAREN ¶
func (s *IfStatementContext) RPAREN() antlr.TerminalNode
func (*IfStatementContext) SetElse_body ¶
func (s *IfStatementContext) SetElse_body(v IStatementOrScopeContext)
func (*IfStatementContext) SetIf_body ¶
func (s *IfStatementContext) SetIf_body(v IStatementOrScopeContext)
func (*IfStatementContext) StatementOrScope ¶
func (s *IfStatementContext) StatementOrScope(i int) IStatementOrScopeContext
func (*IfStatementContext) ToStringTree ¶
func (s *IfStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IncludeStatementContext ¶
type IncludeStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIncludeStatementContext ¶
func NewEmptyIncludeStatementContext() *IncludeStatementContext
func NewIncludeStatementContext ¶
func NewIncludeStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IncludeStatementContext
func (*IncludeStatementContext) Accept ¶
func (s *IncludeStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IncludeStatementContext) EnterRule ¶
func (s *IncludeStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*IncludeStatementContext) ExitRule ¶
func (s *IncludeStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*IncludeStatementContext) GetParser ¶
func (s *IncludeStatementContext) GetParser() antlr.Parser
func (*IncludeStatementContext) GetRuleContext ¶
func (s *IncludeStatementContext) GetRuleContext() antlr.RuleContext
func (*IncludeStatementContext) INCLUDE ¶
func (s *IncludeStatementContext) INCLUDE() antlr.TerminalNode
func (*IncludeStatementContext) IsIncludeStatementContext ¶
func (*IncludeStatementContext) IsIncludeStatementContext()
func (*IncludeStatementContext) SEMICOLON ¶
func (s *IncludeStatementContext) SEMICOLON() antlr.TerminalNode
func (*IncludeStatementContext) StringLiteral ¶
func (s *IncludeStatementContext) StringLiteral() antlr.TerminalNode
func (*IncludeStatementContext) ToStringTree ¶
func (s *IncludeStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IndexExpressionContext ¶
type IndexExpressionContext struct {
ExpressionContext
}
func NewIndexExpressionContext ¶
func NewIndexExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IndexExpressionContext
func (*IndexExpressionContext) Accept ¶
func (s *IndexExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IndexExpressionContext) EnterRule ¶
func (s *IndexExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*IndexExpressionContext) ExitRule ¶
func (s *IndexExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*IndexExpressionContext) Expression ¶
func (s *IndexExpressionContext) Expression() IExpressionContext
func (*IndexExpressionContext) GetRuleContext ¶
func (s *IndexExpressionContext) GetRuleContext() antlr.RuleContext
func (*IndexExpressionContext) IndexOperator ¶
func (s *IndexExpressionContext) IndexOperator() IIndexOperatorContext
type IndexOperatorContext ¶
type IndexOperatorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIndexOperatorContext ¶
func NewEmptyIndexOperatorContext() *IndexOperatorContext
func NewIndexOperatorContext ¶
func NewIndexOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndexOperatorContext
func (*IndexOperatorContext) Accept ¶
func (s *IndexOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IndexOperatorContext) AllCOMMA ¶
func (s *IndexOperatorContext) AllCOMMA() []antlr.TerminalNode
func (*IndexOperatorContext) AllExpression ¶
func (s *IndexOperatorContext) AllExpression() []IExpressionContext
func (*IndexOperatorContext) AllRangeExpression ¶
func (s *IndexOperatorContext) AllRangeExpression() []IRangeExpressionContext
func (*IndexOperatorContext) COMMA ¶
func (s *IndexOperatorContext) COMMA(i int) antlr.TerminalNode
func (*IndexOperatorContext) EnterRule ¶
func (s *IndexOperatorContext) EnterRule(listener antlr.ParseTreeListener)
func (*IndexOperatorContext) ExitRule ¶
func (s *IndexOperatorContext) ExitRule(listener antlr.ParseTreeListener)
func (*IndexOperatorContext) Expression ¶
func (s *IndexOperatorContext) Expression(i int) IExpressionContext
func (*IndexOperatorContext) GetParser ¶
func (s *IndexOperatorContext) GetParser() antlr.Parser
func (*IndexOperatorContext) GetRuleContext ¶
func (s *IndexOperatorContext) GetRuleContext() antlr.RuleContext
func (*IndexOperatorContext) IsIndexOperatorContext ¶
func (*IndexOperatorContext) IsIndexOperatorContext()
func (*IndexOperatorContext) LBRACKET ¶
func (s *IndexOperatorContext) LBRACKET() antlr.TerminalNode
func (*IndexOperatorContext) RBRACKET ¶
func (s *IndexOperatorContext) RBRACKET() antlr.TerminalNode
func (*IndexOperatorContext) RangeExpression ¶
func (s *IndexOperatorContext) RangeExpression(i int) IRangeExpressionContext
func (*IndexOperatorContext) SetExpression ¶
func (s *IndexOperatorContext) SetExpression() ISetExpressionContext
func (*IndexOperatorContext) ToStringTree ¶
func (s *IndexOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IndexedIdentifierContext ¶
type IndexedIdentifierContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIndexedIdentifierContext ¶
func NewEmptyIndexedIdentifierContext() *IndexedIdentifierContext
func NewIndexedIdentifierContext ¶
func NewIndexedIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndexedIdentifierContext
func (*IndexedIdentifierContext) Accept ¶
func (s *IndexedIdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IndexedIdentifierContext) AllIndexOperator ¶
func (s *IndexedIdentifierContext) AllIndexOperator() []IIndexOperatorContext
func (*IndexedIdentifierContext) EnterRule ¶
func (s *IndexedIdentifierContext) EnterRule(listener antlr.ParseTreeListener)
func (*IndexedIdentifierContext) ExitRule ¶
func (s *IndexedIdentifierContext) ExitRule(listener antlr.ParseTreeListener)
func (*IndexedIdentifierContext) GetParser ¶
func (s *IndexedIdentifierContext) GetParser() antlr.Parser
func (*IndexedIdentifierContext) GetRuleContext ¶
func (s *IndexedIdentifierContext) GetRuleContext() antlr.RuleContext
func (*IndexedIdentifierContext) Identifier ¶
func (s *IndexedIdentifierContext) Identifier() antlr.TerminalNode
func (*IndexedIdentifierContext) IndexOperator ¶
func (s *IndexedIdentifierContext) IndexOperator(i int) IIndexOperatorContext
func (*IndexedIdentifierContext) IsIndexedIdentifierContext ¶
func (*IndexedIdentifierContext) IsIndexedIdentifierContext()
func (*IndexedIdentifierContext) ToStringTree ¶
func (s *IndexedIdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IoDeclarationStatementContext ¶
type IoDeclarationStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIoDeclarationStatementContext ¶
func NewEmptyIoDeclarationStatementContext() *IoDeclarationStatementContext
func NewIoDeclarationStatementContext ¶
func NewIoDeclarationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IoDeclarationStatementContext
func (*IoDeclarationStatementContext) Accept ¶
func (s *IoDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IoDeclarationStatementContext) ArrayType ¶
func (s *IoDeclarationStatementContext) ArrayType() IArrayTypeContext
func (*IoDeclarationStatementContext) EnterRule ¶
func (s *IoDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*IoDeclarationStatementContext) ExitRule ¶
func (s *IoDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*IoDeclarationStatementContext) GetParser ¶
func (s *IoDeclarationStatementContext) GetParser() antlr.Parser
func (*IoDeclarationStatementContext) GetRuleContext ¶
func (s *IoDeclarationStatementContext) GetRuleContext() antlr.RuleContext
func (*IoDeclarationStatementContext) INPUT ¶
func (s *IoDeclarationStatementContext) INPUT() antlr.TerminalNode
func (*IoDeclarationStatementContext) Identifier ¶
func (s *IoDeclarationStatementContext) Identifier() antlr.TerminalNode
func (*IoDeclarationStatementContext) IsIoDeclarationStatementContext ¶
func (*IoDeclarationStatementContext) IsIoDeclarationStatementContext()
func (*IoDeclarationStatementContext) OUTPUT ¶
func (s *IoDeclarationStatementContext) OUTPUT() antlr.TerminalNode
func (*IoDeclarationStatementContext) SEMICOLON ¶
func (s *IoDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
func (*IoDeclarationStatementContext) ScalarType ¶
func (s *IoDeclarationStatementContext) ScalarType() IScalarTypeContext
func (*IoDeclarationStatementContext) ToStringTree ¶
func (s *IoDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LiteralExpressionContext ¶
type LiteralExpressionContext struct {
ExpressionContext
}
func NewLiteralExpressionContext ¶
func NewLiteralExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralExpressionContext
func (*LiteralExpressionContext) Accept ¶
func (s *LiteralExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LiteralExpressionContext) BinaryIntegerLiteral ¶
func (s *LiteralExpressionContext) BinaryIntegerLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) BitstringLiteral ¶
func (s *LiteralExpressionContext) BitstringLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) BooleanLiteral ¶
func (s *LiteralExpressionContext) BooleanLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) DecimalIntegerLiteral ¶
func (s *LiteralExpressionContext) DecimalIntegerLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) EnterRule ¶
func (s *LiteralExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*LiteralExpressionContext) ExitRule ¶
func (s *LiteralExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*LiteralExpressionContext) FloatLiteral ¶
func (s *LiteralExpressionContext) FloatLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) GetRuleContext ¶
func (s *LiteralExpressionContext) GetRuleContext() antlr.RuleContext
func (*LiteralExpressionContext) HardwareQubit ¶
func (s *LiteralExpressionContext) HardwareQubit() antlr.TerminalNode
func (*LiteralExpressionContext) HexIntegerLiteral ¶
func (s *LiteralExpressionContext) HexIntegerLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) Identifier ¶
func (s *LiteralExpressionContext) Identifier() antlr.TerminalNode
func (*LiteralExpressionContext) ImaginaryLiteral ¶
func (s *LiteralExpressionContext) ImaginaryLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) OctalIntegerLiteral ¶
func (s *LiteralExpressionContext) OctalIntegerLiteral() antlr.TerminalNode
func (*LiteralExpressionContext) TimingLiteral ¶
func (s *LiteralExpressionContext) TimingLiteral() antlr.TerminalNode
type LogicalAndExpressionContext ¶
type LogicalAndExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewLogicalAndExpressionContext ¶
func NewLogicalAndExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalAndExpressionContext
func (*LogicalAndExpressionContext) Accept ¶
func (s *LogicalAndExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LogicalAndExpressionContext) AllExpression ¶
func (s *LogicalAndExpressionContext) AllExpression() []IExpressionContext
func (*LogicalAndExpressionContext) DOUBLE_AMPERSAND ¶
func (s *LogicalAndExpressionContext) DOUBLE_AMPERSAND() antlr.TerminalNode
func (*LogicalAndExpressionContext) EnterRule ¶
func (s *LogicalAndExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*LogicalAndExpressionContext) ExitRule ¶
func (s *LogicalAndExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*LogicalAndExpressionContext) Expression ¶
func (s *LogicalAndExpressionContext) Expression(i int) IExpressionContext
func (*LogicalAndExpressionContext) GetOp ¶
func (s *LogicalAndExpressionContext) GetOp() antlr.Token
func (*LogicalAndExpressionContext) GetRuleContext ¶
func (s *LogicalAndExpressionContext) GetRuleContext() antlr.RuleContext
func (*LogicalAndExpressionContext) SetOp ¶
func (s *LogicalAndExpressionContext) SetOp(v antlr.Token)
type LogicalOrExpressionContext ¶
type LogicalOrExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewLogicalOrExpressionContext ¶
func NewLogicalOrExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalOrExpressionContext
func (*LogicalOrExpressionContext) Accept ¶
func (s *LogicalOrExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LogicalOrExpressionContext) AllExpression ¶
func (s *LogicalOrExpressionContext) AllExpression() []IExpressionContext
func (*LogicalOrExpressionContext) DOUBLE_PIPE ¶
func (s *LogicalOrExpressionContext) DOUBLE_PIPE() antlr.TerminalNode
func (*LogicalOrExpressionContext) EnterRule ¶
func (s *LogicalOrExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*LogicalOrExpressionContext) ExitRule ¶
func (s *LogicalOrExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*LogicalOrExpressionContext) Expression ¶
func (s *LogicalOrExpressionContext) Expression(i int) IExpressionContext
func (*LogicalOrExpressionContext) GetOp ¶
func (s *LogicalOrExpressionContext) GetOp() antlr.Token
func (*LogicalOrExpressionContext) GetRuleContext ¶
func (s *LogicalOrExpressionContext) GetRuleContext() antlr.RuleContext
func (*LogicalOrExpressionContext) SetOp ¶
func (s *LogicalOrExpressionContext) SetOp(v antlr.Token)
type MeasureArrowAssignmentStatementContext ¶
type MeasureArrowAssignmentStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeasureArrowAssignmentStatementContext ¶
func NewEmptyMeasureArrowAssignmentStatementContext() *MeasureArrowAssignmentStatementContext
func NewMeasureArrowAssignmentStatementContext ¶
func NewMeasureArrowAssignmentStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MeasureArrowAssignmentStatementContext
func (*MeasureArrowAssignmentStatementContext) ARROW ¶
func (s *MeasureArrowAssignmentStatementContext) ARROW() antlr.TerminalNode
func (*MeasureArrowAssignmentStatementContext) Accept ¶
func (s *MeasureArrowAssignmentStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MeasureArrowAssignmentStatementContext) EnterRule ¶
func (s *MeasureArrowAssignmentStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*MeasureArrowAssignmentStatementContext) ExitRule ¶
func (s *MeasureArrowAssignmentStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*MeasureArrowAssignmentStatementContext) GetParser ¶
func (s *MeasureArrowAssignmentStatementContext) GetParser() antlr.Parser
func (*MeasureArrowAssignmentStatementContext) GetRuleContext ¶
func (s *MeasureArrowAssignmentStatementContext) GetRuleContext() antlr.RuleContext
func (*MeasureArrowAssignmentStatementContext) IndexedIdentifier ¶
func (s *MeasureArrowAssignmentStatementContext) IndexedIdentifier() IIndexedIdentifierContext
func (*MeasureArrowAssignmentStatementContext) IsMeasureArrowAssignmentStatementContext ¶
func (*MeasureArrowAssignmentStatementContext) IsMeasureArrowAssignmentStatementContext()
func (*MeasureArrowAssignmentStatementContext) MeasureExpression ¶
func (s *MeasureArrowAssignmentStatementContext) MeasureExpression() IMeasureExpressionContext
func (*MeasureArrowAssignmentStatementContext) SEMICOLON ¶
func (s *MeasureArrowAssignmentStatementContext) SEMICOLON() antlr.TerminalNode
func (*MeasureArrowAssignmentStatementContext) ToStringTree ¶
func (s *MeasureArrowAssignmentStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MeasureExpressionContext ¶
type MeasureExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMeasureExpressionContext ¶
func NewEmptyMeasureExpressionContext() *MeasureExpressionContext
func NewMeasureExpressionContext ¶
func NewMeasureExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MeasureExpressionContext
func (*MeasureExpressionContext) Accept ¶
func (s *MeasureExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MeasureExpressionContext) EnterRule ¶
func (s *MeasureExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*MeasureExpressionContext) ExitRule ¶
func (s *MeasureExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*MeasureExpressionContext) GateOperand ¶
func (s *MeasureExpressionContext) GateOperand() IGateOperandContext
func (*MeasureExpressionContext) GetParser ¶
func (s *MeasureExpressionContext) GetParser() antlr.Parser
func (*MeasureExpressionContext) GetRuleContext ¶
func (s *MeasureExpressionContext) GetRuleContext() antlr.RuleContext
func (*MeasureExpressionContext) IsMeasureExpressionContext ¶
func (*MeasureExpressionContext) IsMeasureExpressionContext()
func (*MeasureExpressionContext) MEASURE ¶
func (s *MeasureExpressionContext) MEASURE() antlr.TerminalNode
func (*MeasureExpressionContext) ToStringTree ¶
func (s *MeasureExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MultiplicativeExpressionContext ¶
type MultiplicativeExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewMultiplicativeExpressionContext ¶
func NewMultiplicativeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicativeExpressionContext
func (*MultiplicativeExpressionContext) ASTERISK ¶
func (s *MultiplicativeExpressionContext) ASTERISK() antlr.TerminalNode
func (*MultiplicativeExpressionContext) Accept ¶
func (s *MultiplicativeExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MultiplicativeExpressionContext) AllExpression ¶
func (s *MultiplicativeExpressionContext) AllExpression() []IExpressionContext
func (*MultiplicativeExpressionContext) EnterRule ¶
func (s *MultiplicativeExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*MultiplicativeExpressionContext) ExitRule ¶
func (s *MultiplicativeExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*MultiplicativeExpressionContext) Expression ¶
func (s *MultiplicativeExpressionContext) Expression(i int) IExpressionContext
func (*MultiplicativeExpressionContext) GetOp ¶
func (s *MultiplicativeExpressionContext) GetOp() antlr.Token
func (*MultiplicativeExpressionContext) GetRuleContext ¶
func (s *MultiplicativeExpressionContext) GetRuleContext() antlr.RuleContext
func (*MultiplicativeExpressionContext) PERCENT ¶
func (s *MultiplicativeExpressionContext) PERCENT() antlr.TerminalNode
func (*MultiplicativeExpressionContext) SLASH ¶
func (s *MultiplicativeExpressionContext) SLASH() antlr.TerminalNode
func (*MultiplicativeExpressionContext) SetOp ¶
func (s *MultiplicativeExpressionContext) SetOp(v antlr.Token)
type OldStyleDeclarationStatementContext ¶
type OldStyleDeclarationStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOldStyleDeclarationStatementContext ¶
func NewEmptyOldStyleDeclarationStatementContext() *OldStyleDeclarationStatementContext
func NewOldStyleDeclarationStatementContext ¶
func NewOldStyleDeclarationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OldStyleDeclarationStatementContext
func (*OldStyleDeclarationStatementContext) Accept ¶
func (s *OldStyleDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OldStyleDeclarationStatementContext) CREG ¶
func (s *OldStyleDeclarationStatementContext) CREG() antlr.TerminalNode
func (*OldStyleDeclarationStatementContext) Designator ¶
func (s *OldStyleDeclarationStatementContext) Designator() IDesignatorContext
func (*OldStyleDeclarationStatementContext) EnterRule ¶
func (s *OldStyleDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*OldStyleDeclarationStatementContext) ExitRule ¶
func (s *OldStyleDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*OldStyleDeclarationStatementContext) GetParser ¶
func (s *OldStyleDeclarationStatementContext) GetParser() antlr.Parser
func (*OldStyleDeclarationStatementContext) GetRuleContext ¶
func (s *OldStyleDeclarationStatementContext) GetRuleContext() antlr.RuleContext
func (*OldStyleDeclarationStatementContext) Identifier ¶
func (s *OldStyleDeclarationStatementContext) Identifier() antlr.TerminalNode
func (*OldStyleDeclarationStatementContext) IsOldStyleDeclarationStatementContext ¶
func (*OldStyleDeclarationStatementContext) IsOldStyleDeclarationStatementContext()
func (*OldStyleDeclarationStatementContext) QREG ¶
func (s *OldStyleDeclarationStatementContext) QREG() antlr.TerminalNode
func (*OldStyleDeclarationStatementContext) SEMICOLON ¶
func (s *OldStyleDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
func (*OldStyleDeclarationStatementContext) ToStringTree ¶
func (s *OldStyleDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ParenthesisExpressionContext ¶
type ParenthesisExpressionContext struct {
ExpressionContext
}
func NewParenthesisExpressionContext ¶
func NewParenthesisExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesisExpressionContext
func (*ParenthesisExpressionContext) Accept ¶
func (s *ParenthesisExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParenthesisExpressionContext) EnterRule ¶
func (s *ParenthesisExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParenthesisExpressionContext) ExitRule ¶
func (s *ParenthesisExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParenthesisExpressionContext) Expression ¶
func (s *ParenthesisExpressionContext) Expression() IExpressionContext
func (*ParenthesisExpressionContext) GetRuleContext ¶
func (s *ParenthesisExpressionContext) GetRuleContext() antlr.RuleContext
func (*ParenthesisExpressionContext) LPAREN ¶
func (s *ParenthesisExpressionContext) LPAREN() antlr.TerminalNode
func (*ParenthesisExpressionContext) RPAREN ¶
func (s *ParenthesisExpressionContext) RPAREN() antlr.TerminalNode
type PowerExpressionContext ¶
type PowerExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewPowerExpressionContext ¶
func NewPowerExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PowerExpressionContext
func (*PowerExpressionContext) Accept ¶
func (s *PowerExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PowerExpressionContext) AllExpression ¶
func (s *PowerExpressionContext) AllExpression() []IExpressionContext
func (*PowerExpressionContext) DOUBLE_ASTERISK ¶
func (s *PowerExpressionContext) DOUBLE_ASTERISK() antlr.TerminalNode
func (*PowerExpressionContext) EnterRule ¶
func (s *PowerExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*PowerExpressionContext) ExitRule ¶
func (s *PowerExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*PowerExpressionContext) Expression ¶
func (s *PowerExpressionContext) Expression(i int) IExpressionContext
func (*PowerExpressionContext) GetOp ¶
func (s *PowerExpressionContext) GetOp() antlr.Token
func (*PowerExpressionContext) GetRuleContext ¶
func (s *PowerExpressionContext) GetRuleContext() antlr.RuleContext
func (*PowerExpressionContext) SetOp ¶
func (s *PowerExpressionContext) SetOp(v antlr.Token)
type PragmaContext ¶
type PragmaContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPragmaContext ¶
func NewEmptyPragmaContext() *PragmaContext
func NewPragmaContext ¶
func NewPragmaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PragmaContext
func (*PragmaContext) Accept ¶
func (s *PragmaContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PragmaContext) EnterRule ¶
func (s *PragmaContext) EnterRule(listener antlr.ParseTreeListener)
func (*PragmaContext) ExitRule ¶
func (s *PragmaContext) ExitRule(listener antlr.ParseTreeListener)
func (*PragmaContext) GetParser ¶
func (s *PragmaContext) GetParser() antlr.Parser
func (*PragmaContext) GetRuleContext ¶
func (s *PragmaContext) GetRuleContext() antlr.RuleContext
func (*PragmaContext) IsPragmaContext ¶
func (*PragmaContext) IsPragmaContext()
func (*PragmaContext) PRAGMA ¶
func (s *PragmaContext) PRAGMA() antlr.TerminalNode
func (*PragmaContext) RemainingLineContent ¶
func (s *PragmaContext) RemainingLineContent() antlr.TerminalNode
func (*PragmaContext) ToStringTree ¶
func (s *PragmaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ProgramContext ¶
type ProgramContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgramContext ¶
func NewEmptyProgramContext() *ProgramContext
func NewProgramContext ¶
func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext
func (*ProgramContext) Accept ¶
func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ProgramContext) AllStatementOrScope ¶
func (s *ProgramContext) AllStatementOrScope() []IStatementOrScopeContext
func (*ProgramContext) EOF ¶
func (s *ProgramContext) EOF() antlr.TerminalNode
func (*ProgramContext) EnterRule ¶
func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgramContext) ExitRule ¶
func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgramContext) GetParser ¶
func (s *ProgramContext) GetParser() antlr.Parser
func (*ProgramContext) GetRuleContext ¶
func (s *ProgramContext) GetRuleContext() antlr.RuleContext
func (*ProgramContext) IsProgramContext ¶
func (*ProgramContext) IsProgramContext()
func (*ProgramContext) StatementOrScope ¶
func (s *ProgramContext) StatementOrScope(i int) IStatementOrScopeContext
func (*ProgramContext) ToStringTree ¶
func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ProgramContext) Version ¶
func (s *ProgramContext) Version() IVersionContext
type QuantumDeclarationStatementContext ¶
type QuantumDeclarationStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQuantumDeclarationStatementContext ¶
func NewEmptyQuantumDeclarationStatementContext() *QuantumDeclarationStatementContext
func NewQuantumDeclarationStatementContext ¶
func NewQuantumDeclarationStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuantumDeclarationStatementContext
func (*QuantumDeclarationStatementContext) Accept ¶
func (s *QuantumDeclarationStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*QuantumDeclarationStatementContext) EnterRule ¶
func (s *QuantumDeclarationStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*QuantumDeclarationStatementContext) ExitRule ¶
func (s *QuantumDeclarationStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*QuantumDeclarationStatementContext) GetParser ¶
func (s *QuantumDeclarationStatementContext) GetParser() antlr.Parser
func (*QuantumDeclarationStatementContext) GetRuleContext ¶
func (s *QuantumDeclarationStatementContext) GetRuleContext() antlr.RuleContext
func (*QuantumDeclarationStatementContext) Identifier ¶
func (s *QuantumDeclarationStatementContext) Identifier() antlr.TerminalNode
func (*QuantumDeclarationStatementContext) IsQuantumDeclarationStatementContext ¶
func (*QuantumDeclarationStatementContext) IsQuantumDeclarationStatementContext()
func (*QuantumDeclarationStatementContext) QubitType ¶
func (s *QuantumDeclarationStatementContext) QubitType() IQubitTypeContext
func (*QuantumDeclarationStatementContext) SEMICOLON ¶
func (s *QuantumDeclarationStatementContext) SEMICOLON() antlr.TerminalNode
func (*QuantumDeclarationStatementContext) ToStringTree ¶
func (s *QuantumDeclarationStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type QubitTypeContext ¶
type QubitTypeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQubitTypeContext ¶
func NewEmptyQubitTypeContext() *QubitTypeContext
func NewQubitTypeContext ¶
func NewQubitTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QubitTypeContext
func (*QubitTypeContext) Accept ¶
func (s *QubitTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*QubitTypeContext) Designator ¶
func (s *QubitTypeContext) Designator() IDesignatorContext
func (*QubitTypeContext) EnterRule ¶
func (s *QubitTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*QubitTypeContext) ExitRule ¶
func (s *QubitTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*QubitTypeContext) GetParser ¶
func (s *QubitTypeContext) GetParser() antlr.Parser
func (*QubitTypeContext) GetRuleContext ¶
func (s *QubitTypeContext) GetRuleContext() antlr.RuleContext
func (*QubitTypeContext) IsQubitTypeContext ¶
func (*QubitTypeContext) IsQubitTypeContext()
func (*QubitTypeContext) QUBIT ¶
func (s *QubitTypeContext) QUBIT() antlr.TerminalNode
func (*QubitTypeContext) ToStringTree ¶
func (s *QubitTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RangeExpressionContext ¶
type RangeExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRangeExpressionContext ¶
func NewEmptyRangeExpressionContext() *RangeExpressionContext
func NewRangeExpressionContext ¶
func NewRangeExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RangeExpressionContext
func (*RangeExpressionContext) Accept ¶
func (s *RangeExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RangeExpressionContext) AllCOLON ¶
func (s *RangeExpressionContext) AllCOLON() []antlr.TerminalNode
func (*RangeExpressionContext) AllExpression ¶
func (s *RangeExpressionContext) AllExpression() []IExpressionContext
func (*RangeExpressionContext) COLON ¶
func (s *RangeExpressionContext) COLON(i int) antlr.TerminalNode
func (*RangeExpressionContext) EnterRule ¶
func (s *RangeExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*RangeExpressionContext) ExitRule ¶
func (s *RangeExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*RangeExpressionContext) Expression ¶
func (s *RangeExpressionContext) Expression(i int) IExpressionContext
func (*RangeExpressionContext) GetParser ¶
func (s *RangeExpressionContext) GetParser() antlr.Parser
func (*RangeExpressionContext) GetRuleContext ¶
func (s *RangeExpressionContext) GetRuleContext() antlr.RuleContext
func (*RangeExpressionContext) IsRangeExpressionContext ¶
func (*RangeExpressionContext) IsRangeExpressionContext()
func (*RangeExpressionContext) ToStringTree ¶
func (s *RangeExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ResetStatementContext ¶
type ResetStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyResetStatementContext ¶
func NewEmptyResetStatementContext() *ResetStatementContext
func NewResetStatementContext ¶
func NewResetStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ResetStatementContext
func (*ResetStatementContext) Accept ¶
func (s *ResetStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ResetStatementContext) EnterRule ¶
func (s *ResetStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ResetStatementContext) ExitRule ¶
func (s *ResetStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ResetStatementContext) GateOperand ¶
func (s *ResetStatementContext) GateOperand() IGateOperandContext
func (*ResetStatementContext) GetParser ¶
func (s *ResetStatementContext) GetParser() antlr.Parser
func (*ResetStatementContext) GetRuleContext ¶
func (s *ResetStatementContext) GetRuleContext() antlr.RuleContext
func (*ResetStatementContext) IsResetStatementContext ¶
func (*ResetStatementContext) IsResetStatementContext()
func (*ResetStatementContext) RESET ¶
func (s *ResetStatementContext) RESET() antlr.TerminalNode
func (*ResetStatementContext) SEMICOLON ¶
func (s *ResetStatementContext) SEMICOLON() antlr.TerminalNode
func (*ResetStatementContext) ToStringTree ¶
func (s *ResetStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ReturnSignatureContext ¶
type ReturnSignatureContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReturnSignatureContext ¶
func NewEmptyReturnSignatureContext() *ReturnSignatureContext
func NewReturnSignatureContext ¶
func NewReturnSignatureContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnSignatureContext
func (*ReturnSignatureContext) ARROW ¶
func (s *ReturnSignatureContext) ARROW() antlr.TerminalNode
func (*ReturnSignatureContext) Accept ¶
func (s *ReturnSignatureContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ReturnSignatureContext) EnterRule ¶
func (s *ReturnSignatureContext) EnterRule(listener antlr.ParseTreeListener)
func (*ReturnSignatureContext) ExitRule ¶
func (s *ReturnSignatureContext) ExitRule(listener antlr.ParseTreeListener)
func (*ReturnSignatureContext) GetParser ¶
func (s *ReturnSignatureContext) GetParser() antlr.Parser
func (*ReturnSignatureContext) GetRuleContext ¶
func (s *ReturnSignatureContext) GetRuleContext() antlr.RuleContext
func (*ReturnSignatureContext) IsReturnSignatureContext ¶
func (*ReturnSignatureContext) IsReturnSignatureContext()
func (*ReturnSignatureContext) ScalarType ¶
func (s *ReturnSignatureContext) ScalarType() IScalarTypeContext
func (*ReturnSignatureContext) ToStringTree ¶
func (s *ReturnSignatureContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ReturnStatementContext ¶
type ReturnStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyReturnStatementContext ¶
func NewEmptyReturnStatementContext() *ReturnStatementContext
func NewReturnStatementContext ¶
func NewReturnStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnStatementContext
func (*ReturnStatementContext) Accept ¶
func (s *ReturnStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ReturnStatementContext) EnterRule ¶
func (s *ReturnStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ReturnStatementContext) ExitRule ¶
func (s *ReturnStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ReturnStatementContext) Expression ¶
func (s *ReturnStatementContext) Expression() IExpressionContext
func (*ReturnStatementContext) GetParser ¶
func (s *ReturnStatementContext) GetParser() antlr.Parser
func (*ReturnStatementContext) GetRuleContext ¶
func (s *ReturnStatementContext) GetRuleContext() antlr.RuleContext
func (*ReturnStatementContext) IsReturnStatementContext ¶
func (*ReturnStatementContext) IsReturnStatementContext()
func (*ReturnStatementContext) MeasureExpression ¶
func (s *ReturnStatementContext) MeasureExpression() IMeasureExpressionContext
func (*ReturnStatementContext) RETURN ¶
func (s *ReturnStatementContext) RETURN() antlr.TerminalNode
func (*ReturnStatementContext) SEMICOLON ¶
func (s *ReturnStatementContext) SEMICOLON() antlr.TerminalNode
func (*ReturnStatementContext) ToStringTree ¶
func (s *ReturnStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ScalarTypeContext ¶
type ScalarTypeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyScalarTypeContext ¶
func NewEmptyScalarTypeContext() *ScalarTypeContext
func NewScalarTypeContext ¶
func NewScalarTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScalarTypeContext
func (*ScalarTypeContext) ANGLE ¶
func (s *ScalarTypeContext) ANGLE() antlr.TerminalNode
func (*ScalarTypeContext) Accept ¶
func (s *ScalarTypeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ScalarTypeContext) BIT ¶
func (s *ScalarTypeContext) BIT() antlr.TerminalNode
func (*ScalarTypeContext) BOOL ¶
func (s *ScalarTypeContext) BOOL() antlr.TerminalNode
func (*ScalarTypeContext) COMPLEX ¶
func (s *ScalarTypeContext) COMPLEX() antlr.TerminalNode
func (*ScalarTypeContext) DURATION ¶
func (s *ScalarTypeContext) DURATION() antlr.TerminalNode
func (*ScalarTypeContext) Designator ¶
func (s *ScalarTypeContext) Designator() IDesignatorContext
func (*ScalarTypeContext) EnterRule ¶
func (s *ScalarTypeContext) EnterRule(listener antlr.ParseTreeListener)
func (*ScalarTypeContext) ExitRule ¶
func (s *ScalarTypeContext) ExitRule(listener antlr.ParseTreeListener)
func (*ScalarTypeContext) FLOAT ¶
func (s *ScalarTypeContext) FLOAT() antlr.TerminalNode
func (*ScalarTypeContext) GetParser ¶
func (s *ScalarTypeContext) GetParser() antlr.Parser
func (*ScalarTypeContext) GetRuleContext ¶
func (s *ScalarTypeContext) GetRuleContext() antlr.RuleContext
func (*ScalarTypeContext) INT ¶
func (s *ScalarTypeContext) INT() antlr.TerminalNode
func (*ScalarTypeContext) IsScalarTypeContext ¶
func (*ScalarTypeContext) IsScalarTypeContext()
func (*ScalarTypeContext) LBRACKET ¶
func (s *ScalarTypeContext) LBRACKET() antlr.TerminalNode
func (*ScalarTypeContext) RBRACKET ¶
func (s *ScalarTypeContext) RBRACKET() antlr.TerminalNode
func (*ScalarTypeContext) STRETCH ¶
func (s *ScalarTypeContext) STRETCH() antlr.TerminalNode
func (*ScalarTypeContext) ScalarType ¶
func (s *ScalarTypeContext) ScalarType() IScalarTypeContext
func (*ScalarTypeContext) ToStringTree ¶
func (s *ScalarTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ScalarTypeContext) UINT ¶
func (s *ScalarTypeContext) UINT() antlr.TerminalNode
type ScopeContext ¶
type ScopeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyScopeContext ¶
func NewEmptyScopeContext() *ScopeContext
func NewScopeContext ¶
func NewScopeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScopeContext
func (*ScopeContext) Accept ¶
func (s *ScopeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ScopeContext) AllStatementOrScope ¶
func (s *ScopeContext) AllStatementOrScope() []IStatementOrScopeContext
func (*ScopeContext) EnterRule ¶
func (s *ScopeContext) EnterRule(listener antlr.ParseTreeListener)
func (*ScopeContext) ExitRule ¶
func (s *ScopeContext) ExitRule(listener antlr.ParseTreeListener)
func (*ScopeContext) GetParser ¶
func (s *ScopeContext) GetParser() antlr.Parser
func (*ScopeContext) GetRuleContext ¶
func (s *ScopeContext) GetRuleContext() antlr.RuleContext
func (*ScopeContext) IsScopeContext ¶
func (*ScopeContext) IsScopeContext()
func (*ScopeContext) LBRACE ¶
func (s *ScopeContext) LBRACE() antlr.TerminalNode
func (*ScopeContext) RBRACE ¶
func (s *ScopeContext) RBRACE() antlr.TerminalNode
func (*ScopeContext) StatementOrScope ¶
func (s *ScopeContext) StatementOrScope(i int) IStatementOrScopeContext
func (*ScopeContext) ToStringTree ¶
func (s *ScopeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SetExpressionContext ¶
type SetExpressionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySetExpressionContext ¶
func NewEmptySetExpressionContext() *SetExpressionContext
func NewSetExpressionContext ¶
func NewSetExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetExpressionContext
func (*SetExpressionContext) Accept ¶
func (s *SetExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SetExpressionContext) AllCOMMA ¶
func (s *SetExpressionContext) AllCOMMA() []antlr.TerminalNode
func (*SetExpressionContext) AllExpression ¶
func (s *SetExpressionContext) AllExpression() []IExpressionContext
func (*SetExpressionContext) COMMA ¶
func (s *SetExpressionContext) COMMA(i int) antlr.TerminalNode
func (*SetExpressionContext) EnterRule ¶
func (s *SetExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*SetExpressionContext) ExitRule ¶
func (s *SetExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*SetExpressionContext) Expression ¶
func (s *SetExpressionContext) Expression(i int) IExpressionContext
func (*SetExpressionContext) GetParser ¶
func (s *SetExpressionContext) GetParser() antlr.Parser
func (*SetExpressionContext) GetRuleContext ¶
func (s *SetExpressionContext) GetRuleContext() antlr.RuleContext
func (*SetExpressionContext) IsSetExpressionContext ¶
func (*SetExpressionContext) IsSetExpressionContext()
func (*SetExpressionContext) LBRACE ¶
func (s *SetExpressionContext) LBRACE() antlr.TerminalNode
func (*SetExpressionContext) RBRACE ¶
func (s *SetExpressionContext) RBRACE() antlr.TerminalNode
func (*SetExpressionContext) ToStringTree ¶
func (s *SetExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StatementContext ¶
type StatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStatementContext ¶
func NewEmptyStatementContext() *StatementContext
func NewStatementContext ¶
func NewStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementContext
func (*StatementContext) Accept ¶
func (s *StatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StatementContext) AliasDeclarationStatement ¶
func (s *StatementContext) AliasDeclarationStatement() IAliasDeclarationStatementContext
func (*StatementContext) AllAnnotation ¶
func (s *StatementContext) AllAnnotation() []IAnnotationContext
func (*StatementContext) Annotation ¶
func (s *StatementContext) Annotation(i int) IAnnotationContext
func (*StatementContext) AssignmentStatement ¶
func (s *StatementContext) AssignmentStatement() IAssignmentStatementContext
func (*StatementContext) BarrierStatement ¶
func (s *StatementContext) BarrierStatement() IBarrierStatementContext
func (*StatementContext) BoxStatement ¶
func (s *StatementContext) BoxStatement() IBoxStatementContext
func (*StatementContext) BreakStatement ¶
func (s *StatementContext) BreakStatement() IBreakStatementContext
func (*StatementContext) CalStatement ¶
func (s *StatementContext) CalStatement() ICalStatementContext
func (*StatementContext) CalibrationGrammarStatement ¶
func (s *StatementContext) CalibrationGrammarStatement() ICalibrationGrammarStatementContext
func (*StatementContext) ClassicalDeclarationStatement ¶
func (s *StatementContext) ClassicalDeclarationStatement() IClassicalDeclarationStatementContext
func (*StatementContext) ConstDeclarationStatement ¶
func (s *StatementContext) ConstDeclarationStatement() IConstDeclarationStatementContext
func (*StatementContext) ContinueStatement ¶
func (s *StatementContext) ContinueStatement() IContinueStatementContext
func (*StatementContext) DefStatement ¶
func (s *StatementContext) DefStatement() IDefStatementContext
func (*StatementContext) DefcalStatement ¶
func (s *StatementContext) DefcalStatement() IDefcalStatementContext
func (*StatementContext) DelayStatement ¶
func (s *StatementContext) DelayStatement() IDelayStatementContext
func (*StatementContext) EndStatement ¶
func (s *StatementContext) EndStatement() IEndStatementContext
func (*StatementContext) EnterRule ¶
func (s *StatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*StatementContext) ExitRule ¶
func (s *StatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*StatementContext) ExpressionStatement ¶
func (s *StatementContext) ExpressionStatement() IExpressionStatementContext
func (*StatementContext) ExternStatement ¶
func (s *StatementContext) ExternStatement() IExternStatementContext
func (*StatementContext) ForStatement ¶
func (s *StatementContext) ForStatement() IForStatementContext
func (*StatementContext) GateCallStatement ¶
func (s *StatementContext) GateCallStatement() IGateCallStatementContext
func (*StatementContext) GateStatement ¶
func (s *StatementContext) GateStatement() IGateStatementContext
func (*StatementContext) GetParser ¶
func (s *StatementContext) GetParser() antlr.Parser
func (*StatementContext) GetRuleContext ¶
func (s *StatementContext) GetRuleContext() antlr.RuleContext
func (*StatementContext) IfStatement ¶
func (s *StatementContext) IfStatement() IIfStatementContext
func (*StatementContext) IncludeStatement ¶
func (s *StatementContext) IncludeStatement() IIncludeStatementContext
func (*StatementContext) IoDeclarationStatement ¶
func (s *StatementContext) IoDeclarationStatement() IIoDeclarationStatementContext
func (*StatementContext) IsStatementContext ¶
func (*StatementContext) IsStatementContext()
func (*StatementContext) MeasureArrowAssignmentStatement ¶
func (s *StatementContext) MeasureArrowAssignmentStatement() IMeasureArrowAssignmentStatementContext
func (*StatementContext) OldStyleDeclarationStatement ¶
func (s *StatementContext) OldStyleDeclarationStatement() IOldStyleDeclarationStatementContext
func (*StatementContext) Pragma ¶
func (s *StatementContext) Pragma() IPragmaContext
func (*StatementContext) QuantumDeclarationStatement ¶
func (s *StatementContext) QuantumDeclarationStatement() IQuantumDeclarationStatementContext
func (*StatementContext) ResetStatement ¶
func (s *StatementContext) ResetStatement() IResetStatementContext
func (*StatementContext) ReturnStatement ¶
func (s *StatementContext) ReturnStatement() IReturnStatementContext
func (*StatementContext) SwitchStatement ¶
func (s *StatementContext) SwitchStatement() ISwitchStatementContext
func (*StatementContext) ToStringTree ¶
func (s *StatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StatementContext) WhileStatement ¶
func (s *StatementContext) WhileStatement() IWhileStatementContext
type StatementOrScopeContext ¶
type StatementOrScopeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStatementOrScopeContext ¶
func NewEmptyStatementOrScopeContext() *StatementOrScopeContext
func NewStatementOrScopeContext ¶
func NewStatementOrScopeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StatementOrScopeContext
func (*StatementOrScopeContext) Accept ¶
func (s *StatementOrScopeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StatementOrScopeContext) EnterRule ¶
func (s *StatementOrScopeContext) EnterRule(listener antlr.ParseTreeListener)
func (*StatementOrScopeContext) ExitRule ¶
func (s *StatementOrScopeContext) ExitRule(listener antlr.ParseTreeListener)
func (*StatementOrScopeContext) GetParser ¶
func (s *StatementOrScopeContext) GetParser() antlr.Parser
func (*StatementOrScopeContext) GetRuleContext ¶
func (s *StatementOrScopeContext) GetRuleContext() antlr.RuleContext
func (*StatementOrScopeContext) IsStatementOrScopeContext ¶
func (*StatementOrScopeContext) IsStatementOrScopeContext()
func (*StatementOrScopeContext) Scope ¶
func (s *StatementOrScopeContext) Scope() IScopeContext
func (*StatementOrScopeContext) Statement ¶
func (s *StatementOrScopeContext) Statement() IStatementContext
func (*StatementOrScopeContext) ToStringTree ¶
func (s *StatementOrScopeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SwitchCaseItemContext ¶
type SwitchCaseItemContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySwitchCaseItemContext ¶
func NewEmptySwitchCaseItemContext() *SwitchCaseItemContext
func NewSwitchCaseItemContext ¶
func NewSwitchCaseItemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SwitchCaseItemContext
func (*SwitchCaseItemContext) Accept ¶
func (s *SwitchCaseItemContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SwitchCaseItemContext) CASE ¶
func (s *SwitchCaseItemContext) CASE() antlr.TerminalNode
func (*SwitchCaseItemContext) DEFAULT ¶
func (s *SwitchCaseItemContext) DEFAULT() antlr.TerminalNode
func (*SwitchCaseItemContext) EnterRule ¶
func (s *SwitchCaseItemContext) EnterRule(listener antlr.ParseTreeListener)
func (*SwitchCaseItemContext) ExitRule ¶
func (s *SwitchCaseItemContext) ExitRule(listener antlr.ParseTreeListener)
func (*SwitchCaseItemContext) ExpressionList ¶
func (s *SwitchCaseItemContext) ExpressionList() IExpressionListContext
func (*SwitchCaseItemContext) GetParser ¶
func (s *SwitchCaseItemContext) GetParser() antlr.Parser
func (*SwitchCaseItemContext) GetRuleContext ¶
func (s *SwitchCaseItemContext) GetRuleContext() antlr.RuleContext
func (*SwitchCaseItemContext) IsSwitchCaseItemContext ¶
func (*SwitchCaseItemContext) IsSwitchCaseItemContext()
func (*SwitchCaseItemContext) Scope ¶
func (s *SwitchCaseItemContext) Scope() IScopeContext
func (*SwitchCaseItemContext) ToStringTree ¶
func (s *SwitchCaseItemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SwitchStatementContext ¶
type SwitchStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySwitchStatementContext ¶
func NewEmptySwitchStatementContext() *SwitchStatementContext
func NewSwitchStatementContext ¶
func NewSwitchStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SwitchStatementContext
func (*SwitchStatementContext) Accept ¶
func (s *SwitchStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SwitchStatementContext) AllSwitchCaseItem ¶
func (s *SwitchStatementContext) AllSwitchCaseItem() []ISwitchCaseItemContext
func (*SwitchStatementContext) EnterRule ¶
func (s *SwitchStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*SwitchStatementContext) ExitRule ¶
func (s *SwitchStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*SwitchStatementContext) Expression ¶
func (s *SwitchStatementContext) Expression() IExpressionContext
func (*SwitchStatementContext) GetParser ¶
func (s *SwitchStatementContext) GetParser() antlr.Parser
func (*SwitchStatementContext) GetRuleContext ¶
func (s *SwitchStatementContext) GetRuleContext() antlr.RuleContext
func (*SwitchStatementContext) IsSwitchStatementContext ¶
func (*SwitchStatementContext) IsSwitchStatementContext()
func (*SwitchStatementContext) LBRACE ¶
func (s *SwitchStatementContext) LBRACE() antlr.TerminalNode
func (*SwitchStatementContext) LPAREN ¶
func (s *SwitchStatementContext) LPAREN() antlr.TerminalNode
func (*SwitchStatementContext) RBRACE ¶
func (s *SwitchStatementContext) RBRACE() antlr.TerminalNode
func (*SwitchStatementContext) RPAREN ¶
func (s *SwitchStatementContext) RPAREN() antlr.TerminalNode
func (*SwitchStatementContext) SWITCH ¶
func (s *SwitchStatementContext) SWITCH() antlr.TerminalNode
func (*SwitchStatementContext) SwitchCaseItem ¶
func (s *SwitchStatementContext) SwitchCaseItem(i int) ISwitchCaseItemContext
func (*SwitchStatementContext) ToStringTree ¶
func (s *SwitchStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UnaryExpressionContext ¶
type UnaryExpressionContext struct { ExpressionContext // contains filtered or unexported fields }
func NewUnaryExpressionContext ¶
func NewUnaryExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryExpressionContext
func (*UnaryExpressionContext) Accept ¶
func (s *UnaryExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UnaryExpressionContext) EXCLAMATION_POINT ¶
func (s *UnaryExpressionContext) EXCLAMATION_POINT() antlr.TerminalNode
func (*UnaryExpressionContext) EnterRule ¶
func (s *UnaryExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnaryExpressionContext) ExitRule ¶
func (s *UnaryExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnaryExpressionContext) Expression ¶
func (s *UnaryExpressionContext) Expression() IExpressionContext
func (*UnaryExpressionContext) GetOp ¶
func (s *UnaryExpressionContext) GetOp() antlr.Token
func (*UnaryExpressionContext) GetRuleContext ¶
func (s *UnaryExpressionContext) GetRuleContext() antlr.RuleContext
func (*UnaryExpressionContext) MINUS ¶
func (s *UnaryExpressionContext) MINUS() antlr.TerminalNode
func (*UnaryExpressionContext) SetOp ¶
func (s *UnaryExpressionContext) SetOp(v antlr.Token)
func (*UnaryExpressionContext) TILDE ¶
func (s *UnaryExpressionContext) TILDE() antlr.TerminalNode
type VersionContext ¶
type VersionContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVersionContext ¶
func NewEmptyVersionContext() *VersionContext
func NewVersionContext ¶
func NewVersionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VersionContext
func (*VersionContext) Accept ¶
func (s *VersionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*VersionContext) EnterRule ¶
func (s *VersionContext) EnterRule(listener antlr.ParseTreeListener)
func (*VersionContext) ExitRule ¶
func (s *VersionContext) ExitRule(listener antlr.ParseTreeListener)
func (*VersionContext) GetParser ¶
func (s *VersionContext) GetParser() antlr.Parser
func (*VersionContext) GetRuleContext ¶
func (s *VersionContext) GetRuleContext() antlr.RuleContext
func (*VersionContext) IsVersionContext ¶
func (*VersionContext) IsVersionContext()
func (*VersionContext) OPENQASM ¶
func (s *VersionContext) OPENQASM() antlr.TerminalNode
func (*VersionContext) SEMICOLON ¶
func (s *VersionContext) SEMICOLON() antlr.TerminalNode
func (*VersionContext) ToStringTree ¶
func (s *VersionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VersionContext) VersionSpecifier ¶
func (s *VersionContext) VersionSpecifier() antlr.TerminalNode
type WhileStatementContext ¶
type WhileStatementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWhileStatementContext ¶
func NewEmptyWhileStatementContext() *WhileStatementContext
func NewWhileStatementContext ¶
func NewWhileStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WhileStatementContext
func (*WhileStatementContext) Accept ¶
func (s *WhileStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*WhileStatementContext) EnterRule ¶
func (s *WhileStatementContext) EnterRule(listener antlr.ParseTreeListener)
func (*WhileStatementContext) ExitRule ¶
func (s *WhileStatementContext) ExitRule(listener antlr.ParseTreeListener)
func (*WhileStatementContext) Expression ¶
func (s *WhileStatementContext) Expression() IExpressionContext
func (*WhileStatementContext) GetBody ¶
func (s *WhileStatementContext) GetBody() IStatementOrScopeContext
func (*WhileStatementContext) GetParser ¶
func (s *WhileStatementContext) GetParser() antlr.Parser
func (*WhileStatementContext) GetRuleContext ¶
func (s *WhileStatementContext) GetRuleContext() antlr.RuleContext
func (*WhileStatementContext) IsWhileStatementContext ¶
func (*WhileStatementContext) IsWhileStatementContext()
func (*WhileStatementContext) LPAREN ¶
func (s *WhileStatementContext) LPAREN() antlr.TerminalNode
func (*WhileStatementContext) RPAREN ¶
func (s *WhileStatementContext) RPAREN() antlr.TerminalNode
func (*WhileStatementContext) SetBody ¶
func (s *WhileStatementContext) SetBody(v IStatementOrScopeContext)
func (*WhileStatementContext) StatementOrScope ¶
func (s *WhileStatementContext) StatementOrScope() IStatementOrScopeContext
func (*WhileStatementContext) ToStringTree ¶
func (s *WhileStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WhileStatementContext) WHILE ¶
func (s *WhileStatementContext) WHILE() antlr.TerminalNode