plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::st::Ast结构体 参考

#include <ast.h>

Public 成员函数

ExprIndex add_expr (Expr expr)
StmtIndex add_stmt (Stmt stmt)

Public 属性

std::string program_name
std::vector< UserTypeDecl > user_types
std::vector< VarDecl > vars
std::vector< StmtIndex > body
std::vector< SfcNetworkDecl > sfc_networks
std::vector< Expr > exprs
std::vector< Stmt > stmts

详细描述

在文件 ast.h 第 329 行定义.

成员函数说明

◆ add_expr()

ExprIndex plcopen::core::st::Ast::add_expr ( Expr expr)
inline

在文件 ast.h 第 339 行定义.

◆ add_stmt()

StmtIndex plcopen::core::st::Ast::add_stmt ( Stmt stmt)
inline

在文件 ast.h 第 345 行定义.

类成员变量说明

◆ body

std::vector<StmtIndex> plcopen::core::st::Ast::body

在文件 ast.h 第 334 行定义.

◆ exprs

std::vector<Expr> plcopen::core::st::Ast::exprs

在文件 ast.h 第 336 行定义.

◆ program_name

std::string plcopen::core::st::Ast::program_name

在文件 ast.h 第 331 行定义.

◆ sfc_networks

std::vector<SfcNetworkDecl> plcopen::core::st::Ast::sfc_networks

在文件 ast.h 第 335 行定义.

◆ stmts

std::vector<Stmt> plcopen::core::st::Ast::stmts

在文件 ast.h 第 337 行定义.

◆ user_types

std::vector<UserTypeDecl> plcopen::core::st::Ast::user_types

在文件 ast.h 第 332 行定义.

◆ vars

std::vector<VarDecl> plcopen::core::st::Ast::vars

在文件 ast.h 第 333 行定义.


该结构体的文档由以下文件生成: