.. index:: pair: class; originirLexer .. _doxid-classoriginir_lexer: class originirLexer =================== .. toctree:: :hidden: struct_originirLexer_Initializer.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class originirLexer: public Lexer { public: // enums enum { :target:`PI` = 1, :target:`QINIT_KEY` = 2, :target:`CREG_KEY` = 3, :target:`Q_KEY` = 4, :target:`C_KEY` = 5, :target:`BARRIER_KEY` = 6, :target:`QGATE_KEY` = 7, :target:`ENDQGATE_KEY` = 8, :target:`ECHO_GATE` = 9, :target:`H_GATE` = 10, :target:`X_GATE` = 11, :target:`NOT_GATE` = 12, :target:`T_GATE` = 13, :target:`S_GATE` = 14, :target:`Y_GATE` = 15, :target:`Z_GATE` = 16, :target:`X1_GATE` = 17, :target:`Y1_GATE` = 18, :target:`Z1_GATE` = 19, :target:`I_GATE` = 20, :target:`U2_GATE` = 21, :target:`RPHI_GATE` = 22, :target:`U3_GATE` = 23, :target:`U4_GATE` = 24, :target:`RX_GATE` = 25, :target:`RY_GATE` = 26, :target:`RZ_GATE` = 27, :target:`U1_GATE` = 28, :target:`CNOT_GATE` = 29, :target:`CZ_GATE` = 30, :target:`CU_GATE` = 31, :target:`ISWAP_GATE` = 32, :target:`SQISWAP_GATE` = 33, :target:`SWAPZ1_GATE` = 34, :target:`ISWAPTHETA_GATE` = 35, :target:`CR_GATE` = 36, :target:`TOFFOLI_GATE` = 37, :target:`DAGGER_KEY` = 38, :target:`ENDDAGGER_KEY` = 39, :target:`CONTROL_KEY` = 40, :target:`ENDCONTROL_KEY` = 41, :target:`QIF_KEY` = 42, :target:`ELSE_KEY` = 43, :target:`ENDIF_KEY` = 44, :target:`QWHILE_KEY` = 45, :target:`ENDQWHILE_KEY` = 46, :target:`MEASURE_KEY` = 47, :target:`RESET_KEY` = 48, :target:`ASSIGN` = 49, :target:`GT` = 50, :target:`LT` = 51, :target:`NOT` = 52, :target:`EQ` = 53, :target:`LEQ` = 54, :target:`GEQ` = 55, :target:`NE` = 56, :target:`AND` = 57, :target:`OR` = 58, :target:`PLUS` = 59, :target:`MINUS` = 60, :target:`MUL` = 61, :target:`DIV` = 62, :target:`COMMA` = 63, :target:`LPAREN` = 64, :target:`RPAREN` = 65, :target:`LBRACK` = 66, :target:`RBRACK` = 67, :target:`NEWLINE` = 68, :target:`Identifier` = 69, :target:`Integer_Literal` = 70, :target:`Double_Literal` = 71, :target:`Digit_Sequence` = 72, :target:`REALEXP` = 73, :target:`WhiteSpace` = 74, :target:`SingleLineComment` = 75, }; // structs struct :ref:`Initializer`; // construction :target:`originirLexer`(antlr4::CharStream* input); // methods virtual std::string :target:`getGrammarFileName`() const; virtual const std::vector& :target:`getRuleNames`() const; virtual const std::vector& :target:`getChannelNames`() const; virtual const std::vector& :target:`getModeNames`() const; virtual const std::vector& :target:`getTokenNames`() const; virtual antlr4::dfa::Vocabulary& :target:`getVocabulary`() const; virtual const std::vector :target:`getSerializedATN`() const; virtual const antlr4::atn::ATN& :target:`getATN`() const; };