QCOR
Public Member Functions | Public Attributes | Protected Attributes | List of all members
pyxasm_visitor Class Reference
Inheritance diagram for pyxasm_visitor:

Public Member Functions

 pyxasm_visitor (const std::vector< std::string > &buffers={}, const std::vector< std::string > &local_var_names={})
 
antlrcpp::Any visitAtom_expr (pyxasmParser::Atom_exprContext *context) override
 
antlrcpp::Any visitFor_stmt (pyxasmParser::For_stmtContext *context) override
 
antlrcpp::Any visitExpr_stmt (pyxasmParser::Expr_stmtContext *ctx) override
 
antlrcpp::Any visitPower (pyxasmParser::PowerContext *context) override
 
virtual antlrcpp::Any visitIf_stmt (pyxasmParser::If_stmtContext *ctx) override
 
virtual antlrcpp::Any visitWhile_stmt (pyxasmParser::While_stmtContext *ctx) override
 
virtual antlrcpp::Any visitTestlist_star_expr (pyxasmParser::Testlist_star_exprContext *context) override
 
virtual antlrcpp::Any visitAugassign (pyxasmParser::AugassignContext *context) override
 
virtual antlrcpp::Any visitTestlist (pyxasmParser::TestlistContext *context) override
 

Public Attributes

pyxasm_result_type result
 
std::string new_var
 
bool in_for_loop = false
 
std::stringstream sub_node_translation
 
bool is_processing_sub_expr = false
 

Protected Attributes

std::shared_ptr< xacc::IRProvider > provider
 
std::vector< std::string > bufferNames
 
std::vector< std::string > declared_var_names
 

The documentation for this class was generated from the following file: