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

#include <ast.h>

Public 属性

ExprKind kind = ExprKind::literal_int
std::int32_t line = 0
std::int32_t column = 0
std::uint64_t unsigned_value = 0
std::int64_t signed_value = 0
double real_value = 0.0
bool based = false
bool real_form = false
Type literal_type = Type::bool_
std::string name
std::string pin
std::string text
UnaryOp unary_op = UnaryOp::negate
BinaryOp binary_op = BinaryOp::add
ExprIndex lhs = kNoExpr
ExprIndex rhs = kNoExpr
std::vector< ExprIndex > arguments
std::vector< AccessStep > access
std::vector< InitItem > items

详细描述

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

类成员变量说明

◆ access

std::vector<AccessStep> plcopen::core::st::Expr::access

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

◆ arguments

std::vector<ExprIndex> plcopen::core::st::Expr::arguments

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

◆ based

bool plcopen::core::st::Expr::based = false

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

◆ binary_op

BinaryOp plcopen::core::st::Expr::binary_op = BinaryOp::add

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

◆ column

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

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

◆ items

std::vector<InitItem> plcopen::core::st::Expr::items

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

◆ kind

ExprKind plcopen::core::st::Expr::kind = ExprKind::literal_int

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

◆ lhs

ExprIndex plcopen::core::st::Expr::lhs = kNoExpr

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

◆ line

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

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

◆ literal_type

Type plcopen::core::st::Expr::literal_type = Type::bool_

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

◆ name

std::string plcopen::core::st::Expr::name

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

◆ pin

std::string plcopen::core::st::Expr::pin

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

◆ real_form

bool plcopen::core::st::Expr::real_form = false

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

◆ real_value

double plcopen::core::st::Expr::real_value = 0.0

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

◆ rhs

ExprIndex plcopen::core::st::Expr::rhs = kNoExpr

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

◆ signed_value

std::int64_t plcopen::core::st::Expr::signed_value = 0

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

◆ text

std::string plcopen::core::st::Expr::text

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

◆ unary_op

UnaryOp plcopen::core::st::Expr::unary_op = UnaryOp::negate

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

◆ unsigned_value

std::uint64_t plcopen::core::st::Expr::unsigned_value = 0

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


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