Skip to content

AstInterface::CreateConstant

Create AST for constant values of types int, bool, string, float, etc. as well as names of variable and function references. e.g: CreateConstant("memberfunction","floatArray::length")

Synopsis

Declared in <src/midend/astUtil/astInterface/AstInterface.h>

AstNodePtr
CreateConstant(
    std::string const& valtype,
    std::string const& val);

Created with MrDocs