Home
last modified time | relevance | path

Searched refs:astObj (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/framework/tools/hc-gen/src/
Ddecompile_gen.cpp74 int32_t DecompileGen::PrintArrayType(const std::shared_ptr<AstObject> &astObj) in PrintArrayType() argument
77 auto arrayElement = astObj->Child(); in PrintArrayType()
94 int32_t DecompileGen::PrintBaseType(const std::shared_ptr<AstObject> &astObj) in PrintBaseType() argument
98 switch (astObj->Type()) { in PrintBaseType()
103 outStr << "0x" << std::uppercase << std::hex << astObj->IntegerValue(); in PrintBaseType()
107 outStr << "\"" << astObj->StringValue() << "\""; in PrintBaseType()
111 refPath = GetNodeRefPath(astObj->IntegerValue()); in PrintBaseType()
118 return PrintArrayType(astObj); in PrintBaseType()
120 Logger().Error() << "unknown opcode = " << astObj->Type(); in PrintBaseType()
126 uint32_t DecompileGen::OutPutWalk(const std::shared_ptr<AstObject> &astObj, int32_t walkDepth) in OutPutWalk() argument
[all …]
Ddecompile_gen.h32 int32_t PrintBaseType(const std::shared_ptr<AstObject> &astObj);
36 int32_t PrintArrayType(const std::shared_ptr<AstObject> &astObj);
38 uint32_t OutPutWalk(const std::shared_ptr<AstObject> &astObj, int32_t walkDepth);
40 uint32_t CloseBrace(const std::shared_ptr<AstObject> &astObj, int32_t walkDepth);