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

#include <ast.h>

Public 属性

StmtKind kind = StmtKind::empty
std::int32_t line = 0
std::int32_t column = 0
bool debug_provenance = false
std::string debug_pou
std::string debug_call_path
std::int32_t debug_line = 0
std::int32_t debug_column = 0
std::uint16_t debug_call_depth = 0
std::string target
std::vector< AccessStep > target_access
ExprIndex value = kNoExpr
std::vector< ExprIndex > conditions
std::vector< std::vector< StmtIndex > > branches
std::vector< StmtIndex > else_body
ExprIndex selector = kNoExpr
std::vector< CaseArm > arms
std::string control
ExprIndex from = kNoExpr
ExprIndex to = kNoExpr
ExprIndex by = kNoExpr
std::vector< StmtIndex > body
ExprIndex condition = kNoExpr
std::string instance
std::vector< CallParam > params

详细描述

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

类成员变量说明

◆ arms

std::vector<CaseArm> plcopen::core::st::Stmt::arms

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

◆ body

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

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

◆ branches

std::vector<std::vector<StmtIndex> > plcopen::core::st::Stmt::branches

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

◆ by

ExprIndex plcopen::core::st::Stmt::by = kNoExpr

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

◆ column

std::int32_t plcopen::core::st::Stmt::column = 0

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

◆ condition

ExprIndex plcopen::core::st::Stmt::condition = kNoExpr

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

◆ conditions

std::vector<ExprIndex> plcopen::core::st::Stmt::conditions

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

◆ control

std::string plcopen::core::st::Stmt::control

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

◆ debug_call_depth

std::uint16_t plcopen::core::st::Stmt::debug_call_depth = 0

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

◆ debug_call_path

std::string plcopen::core::st::Stmt::debug_call_path

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

◆ debug_column

std::int32_t plcopen::core::st::Stmt::debug_column = 0

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

◆ debug_line

std::int32_t plcopen::core::st::Stmt::debug_line = 0

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

◆ debug_pou

std::string plcopen::core::st::Stmt::debug_pou

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

◆ debug_provenance

bool plcopen::core::st::Stmt::debug_provenance = false

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

◆ else_body

std::vector<StmtIndex> plcopen::core::st::Stmt::else_body

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

◆ from

ExprIndex plcopen::core::st::Stmt::from = kNoExpr

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

◆ instance

std::string plcopen::core::st::Stmt::instance

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

◆ kind

StmtKind plcopen::core::st::Stmt::kind = StmtKind::empty

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

◆ line

std::int32_t plcopen::core::st::Stmt::line = 0

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

◆ params

std::vector<CallParam> plcopen::core::st::Stmt::params

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

◆ selector

ExprIndex plcopen::core::st::Stmt::selector = kNoExpr

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

◆ target

std::string plcopen::core::st::Stmt::target

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

◆ target_access

std::vector<AccessStep> plcopen::core::st::Stmt::target_access

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

◆ to

ExprIndex plcopen::core::st::Stmt::to = kNoExpr

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

◆ value

ExprIndex plcopen::core::st::Stmt::value = kNoExpr

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


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