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

#include <token.h>

Public 属性

TokenKind kind = TokenKind::end_of_input
std::int32_t line = 1
std::int32_t column = 1
std::string_view text
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::uint16_t diag_payload = 0
bool debug_provenance = false
std::string_view debug_pou
std::string_view debug_call_path
std::int32_t debug_line = 0
std::int32_t debug_column = 0
std::uint16_t debug_call_depth = 0

详细描述

在文件 token.h 第 140 行定义.

类成员变量说明

◆ based

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

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

◆ column

std::int32_t plcopen::core::st::Token::column = 1

在文件 token.h 第 144 行定义.

◆ debug_call_depth

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

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

◆ debug_call_path

std::string_view plcopen::core::st::Token::debug_call_path

在文件 token.h 第 155 行定义.

◆ debug_column

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

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

◆ debug_line

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

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

◆ debug_pou

std::string_view plcopen::core::st::Token::debug_pou

在文件 token.h 第 154 行定义.

◆ debug_provenance

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

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

◆ diag_payload

std::uint16_t plcopen::core::st::Token::diag_payload = 0

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

◆ kind

TokenKind plcopen::core::st::Token::kind = TokenKind::end_of_input

在文件 token.h 第 142 行定义.

◆ line

std::int32_t plcopen::core::st::Token::line = 1

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

◆ literal_type

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

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

◆ real_form

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

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

◆ real_value

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

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

◆ signed_value

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

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

◆ text

std::string_view plcopen::core::st::Token::text

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

◆ unsigned_value

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

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


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