.. index:: pair: class; qasmLexer .. _doxid-classqasm_lexer: class qasmLexer =============== .. toctree:: :hidden: struct_qasmLexer_Initializer.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class qasmLexer: public Lexer { public: // enums enum { :target:`OPENQASM_KEY` = 1, :target:`INCLUDE_KEY` = 2, :target:`OPAQUE_KEY` = 3, :target:`QREG_KEY` = 4, :target:`CREG_KEY` = 5, :target:`BARRIER_KEY` = 6, :target:`IF_KEY` = 7, :target:`MEASURE_KEY` = 8, :target:`RESET_KEY` = 9, :target:`GATE_KEY` = 10, :target:`PI_KEY` = 11, :target:`U_GATE_KEY` = 12, :target:`CX_GATE_KEY` = 13, :target:`ARROW` = 14, :target:`EQ` = 15, :target:`PLUS` = 16, :target:`MINUS` = 17, :target:`MUL` = 18, :target:`DIV` = 19, :target:`COMMA` = 20, :target:`SEMI` = 21, :target:`LPAREN` = 22, :target:`RPAREN` = 23, :target:`LBRACKET` = 24, :target:`RBRACKET` = 25, :target:`LBRACE` = 26, :target:`RBRACE` = 27, :target:`DQM` = 28, :target:`IDENTIFIER` = 29, :target:`INTEGER` = 30, :target:`DECIMAL` = 31, :target:`FILENAME` = 32, :target:`REALEXP` = 33, :target:`NL` = 34, :target:`WS` = 35, :target:`LC` = 36, }; // structs struct :ref:`Initializer`; // construction :target:`qasmLexer`(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; };