plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::st::language_detail 命名空间参考

类

struct  TokenView
struct  IndexedSymbol
struct  PouCache

枚举

enum class  SymbolClass : std::uint8_t {
  local = 0 , input , output , inout ,
  temp , external , global , function_ ,
  function_block , program , type
}

函数

std::string lower_copy (std::string_view text)
std::string trim_copy (std::string_view text)
std::string canonical_type (std::string_view text)
std::vector< TokenView > tokenize (std::string_view source)
bool identifier (const TokenView &token)
bool var_opener (std::string_view lower)
std::uint64_t content_hash (std::string_view text)
std::uint32_t decode_utf8 (std::string_view text, std::size_t at, std::size_t &bytes)
LanguagePosition position_from_offset (std::string_view text, std::size_t offset)
bool offset_from_position (std::string_view text, LanguagePosition position, std::size_t &offset)
LanguageRange range_from_offsets (std::string_view text, std::size_t begin, std::size_t end)
const char * symbol_class_name (SymbolClass value)
LanguageSymbolKind public_kind (SymbolClass value)
SymbolClass declaration_class (std::string_view opener)
std::string symbol_detail (const IndexedSymbol &symbol)
void parse_declaration_block (std::string_view source, const std::vector< TokenView > &tokens, std::size_t first, std::size_t last, SymbolClass symbol_class, std::string_view owner, std::vector< IndexedSymbol > &symbols)
SymbolClass pou_class (std::string_view opener)
const char * pou_closer (std::string_view opener)
PouCache parse_pou (std::string_view content, std::size_t base, std::size_t absolute_end)
std::vector< PouCache > segment_pous (std::string_view source)
const char * pin_direction_name (PinDirection direction)
std::string pin_type_name (const BindingManifest &manifest, const BindingPinDesc &pin)
std::string pin_detail (const BindingManifest &manifest, const BindingPinDesc &pin, std::string_view display)
bool variable_class (SymbolClass value)

枚举类型说明

◆ SymbolClass

enum class plcopen::core::st::language_detail::SymbolClass : std::uint8_t
strong
枚举值
local 
input 
output 
inout 
temp 
external 
global 
function_ 
function_block 
program 
type 

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

函数说明

◆ canonical_type()

std::string plcopen::core::st::language_detail::canonical_type ( std::string_view text)
inline

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

◆ content_hash()

std::uint64_t plcopen::core::st::language_detail::content_hash ( std::string_view text)
inline

在文件 language.h 第 206 行定义.

◆ declaration_class()

SymbolClass plcopen::core::st::language_detail::declaration_class ( std::string_view opener)
inline

在文件 language.h 第 403 行定义.

◆ decode_utf8()

std::uint32_t plcopen::core::st::language_detail::decode_utf8 ( std::string_view text,
std::size_t at,
std::size_t & bytes )
inline

在文件 language.h 第 217 行定义.

◆ identifier()

bool plcopen::core::st::language_detail::identifier ( const TokenView & token)
inline

在文件 language.h 第 197 行定义.

◆ lower_copy()

std::string plcopen::core::st::language_detail::lower_copy ( std::string_view text)
inline

在文件 language.h 第 125 行定义.

◆ offset_from_position()

bool plcopen::core::st::language_detail::offset_from_position ( std::string_view text,
LanguagePosition position,
std::size_t & offset )
inline

在文件 language.h 第 283 行定义.

◆ parse_declaration_block()

void plcopen::core::st::language_detail::parse_declaration_block ( std::string_view source,
const std::vector< TokenView > & tokens,
std::size_t first,
std::size_t last,
SymbolClass symbol_class,
std::string_view owner,
std::vector< IndexedSymbol > & symbols )
inline

在文件 language.h 第 445 行定义.

◆ parse_pou()

PouCache plcopen::core::st::language_detail::parse_pou ( std::string_view content,
std::size_t base,
std::size_t absolute_end )
inline

在文件 language.h 第 538 行定义.

◆ pin_detail()

std::string plcopen::core::st::language_detail::pin_detail ( const BindingManifest & manifest,
const BindingPinDesc & pin,
std::string_view display )
inline

在文件 language.h 第 655 行定义.

◆ pin_direction_name()

const char * plcopen::core::st::language_detail::pin_direction_name ( PinDirection direction)
inline

在文件 language.h 第 635 行定义.

◆ pin_type_name()

std::string plcopen::core::st::language_detail::pin_type_name ( const BindingManifest & manifest,
const BindingPinDesc & pin )
inline

在文件 language.h 第 649 行定义.

◆ position_from_offset()

LanguagePosition plcopen::core::st::language_detail::position_from_offset ( std::string_view text,
std::size_t offset )
inline

在文件 language.h 第 254 行定义.

◆ pou_class()

SymbolClass plcopen::core::st::language_detail::pou_class ( std::string_view opener)
inline

在文件 language.h 第 520 行定义.

◆ pou_closer()

const char * plcopen::core::st::language_detail::pou_closer ( std::string_view opener)
inline

在文件 language.h 第 529 行定义.

◆ public_kind()

LanguageSymbolKind plcopen::core::st::language_detail::public_kind ( SymbolClass value)
inline

在文件 language.h 第 382 行定义.

◆ range_from_offsets()

LanguageRange plcopen::core::st::language_detail::range_from_offsets ( std::string_view text,
std::size_t begin,
std::size_t end )
inline

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

◆ segment_pous()

std::vector< PouCache > plcopen::core::st::language_detail::segment_pous ( std::string_view source)
inline

在文件 language.h 第 590 行定义.

◆ symbol_class_name()

const char * plcopen::core::st::language_detail::symbol_class_name ( SymbolClass value)
inline

在文件 language.h 第 352 行定义.

◆ symbol_detail()

std::string plcopen::core::st::language_detail::symbol_detail ( const IndexedSymbol & symbol)
inline

在文件 language.h 第 432 行定义.

◆ tokenize()

std::vector< TokenView > plcopen::core::st::language_detail::tokenize ( std::string_view source)
inline

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

◆ trim_copy()

std::string plcopen::core::st::language_detail::trim_copy ( std::string_view text)
inline

在文件 language.h 第 134 行定义.

◆ var_opener()

bool plcopen::core::st::language_detail::var_opener ( std::string_view lower)
inline

在文件 language.h 第 199 行定义.

◆ variable_class()

bool plcopen::core::st::language_detail::variable_class ( SymbolClass value)
inline

在文件 language.h 第 670 行定义.