|
| void | ast::aGetAllClassNames (std::vector< std::string > &names) |
| |
| const std::unordered_map< std::string, Class * > & | ast::aGetAllClasses () |
| |
| Class * | ast::aGetClass (StringView name) |
| |
| bool | ast::aIsVirtualClass (StringView name) |
| |
| void | ast::aRegisterClass (Class *cls, StringView name=StringView()) |
| |
| Object * | ast::aGetClassDefaultObject (StringView name) |
| |
| Object * | ast::aGetClassDefaultObject (Class *cls) |
| |
| Object * | ast::aNewObject (StringView typeName, Object *parentScope=nullptr) |
| |
| void | ast::aDeleteObject (Object *obj) |
| |
| SharedPtr< Object > | ast::aMakeObject (StringView name, Object *parentScope=nullptr) |
| |
| Object * | ast::aResolveObject (StringView value, Class *cls=nullptr) |
| |
| Object * | ast::aGetObject (uint32_t id) |
| |
| uint32_t | ast::aAddObject (Object *object) |
| |
| errc_t | ast::aRemoveObject (Object *object) |
| |
| void | ast::aRemoveAllObjects () |
| |
| int | ast::aGetObjectCount () |
| |
| std::vector< Object * > | ast::aFindObjects (Class *cls, StringView name=StringView()) |
| |
| Object * | ast::aFindObject (Class *cls, StringView name=StringView()) |
| |
| errc_t | ast::aSetParentScope (Object *obj, Object *parentScope) |
| |
| Object * | ast::aGetParentScope (Object *obj) |
| |
| Object * | ast::aGetAncestorScope (Object *obj, Class *cls) |
| |
| std::vector< Object * > | ast::aGetAllObjects () |
| |
| void | ast::aPrintAllObjects () |
| |
| Object * | ast::aFindChild (Object *parentScope, Class *cls=nullptr, StringView name=StringView()) |
| |
| errc_t | ast::aFindChildren (Object *parentScope, Class *cls, StringView name, std::vector< Object * > &children) |
| |
| std::vector< Object * > | ast::aFindChildren (Object *parentScope, Class *cls=nullptr, StringView name=StringView()) |
| |
| void | ast::aPrintObject (Object *obj, int indent=0, const ObjectPrintConfig &config=ObjectPrintConfig()) |
| |
| void | ast::aPrintObjectTree (Object *root, int indent=0) |
| |
|
void | ast::aPrintObjectTree (Object *root, int indent, const ObjectPrintConfig &config) |
| |
- 作者
- axel
- 日期
- 2026-04-02
- 版权所有
- 版权所有 (C) 2026-present, SpaceAST项目.
SpaceAST项目(https://github.com/space-ast/ast) 本软件基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:
http://www.apache.org/licenses/LICENSE-2.0
重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。