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

类

struct  ParseLimits
class  DiagnosticSink
class  TokenCursor

函数

char lower_ascii (char value)
std::string lower_copy (std::string_view value)
bool same_name (std::string_view lower, const char *value)
bool token_is (const Token &token, std::string_view lower)
std::size_t token_offset (std::string_view source, const Token &token)
bool source_contains_token (std::string_view source, std::string_view lower)
bool source_contains_call (std::string_view source, std::string_view lower, std::size_t &offset)
bool has_program_declaration (std::string_view source)
std::string mask_configuration_blocks (std::string_view source)
Token source_token (std::string_view source, std::size_t offset)
void add_diagnostic (std::vector< Diagnostic > &diagnostics, std::size_t capacity, DiagCode code, std::string_view source, std::size_t offset)
bool identifier (const Token &token)
bool duplicate_name (const std::string &lower, const std::vector< TaskInfo > &values)
bool duplicate_name (const std::string &lower, const std::vector< ResourceInfo > &values)
bool duplicate_name (const std::string &lower, const std::vector< ProgramMappingInfo > &values)
int find_task (const ResourceInfo &resource, std::string_view lower)
bool expect (TokenCursor &cursor, std::string_view word, DiagnosticSink &sink)
bool read_name (TokenCursor &cursor, std::string &name, DiagnosticSink &sink)
bool read_signed_integer (TokenCursor &cursor, std::int64_t &value)
bool parse_task (TokenCursor &cursor, std::string_view source, const ParseLimits &limits, ResourceInfo &resource, DiagnosticSink &sink)
bool parse_mapping (TokenCursor &cursor, std::string_view source, const ParseLimits &limits, ResourceInfo &resource, DiagnosticSink &sink)
bool parse_resource (TokenCursor &cursor, std::string_view source, const ParseLimits &limits, ConfigurationInfo &configuration, DiagnosticSink &sink)
bool parse_configurations (std::string_view source, const ParseLimits &limits, std::vector< ConfigurationInfo > &result, std::vector< Diagnostic > &diagnostics)
std::uint64_t saturated_add (std::uint64_t left, std::uint64_t right) noexcept
std::uint64_t align_runtime (std::uint64_t value) noexcept

函数说明

◆ add_diagnostic()

void plcopen::core::st::tasking_detail::add_diagnostic ( std::vector< Diagnostic > & diagnostics,
std::size_t capacity,
DiagCode code,
std::string_view source,
std::size_t offset )
inline

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

◆ align_runtime()

std::uint64_t plcopen::core::st::tasking_detail::align_runtime ( std::uint64_t value)
inlinenoexcept

在文件 tasking.h 第 775 行定义.

◆ duplicate_name() [1/3]

bool plcopen::core::st::tasking_detail::duplicate_name ( const std::string & lower,
const std::vector< ProgramMappingInfo > & values )
inline

在文件 tasking.h 第 391 行定义.

◆ duplicate_name() [2/3]

bool plcopen::core::st::tasking_detail::duplicate_name ( const std::string & lower,
const std::vector< ResourceInfo > & values )
inline

在文件 tasking.h 第 383 行定义.

◆ duplicate_name() [3/3]

bool plcopen::core::st::tasking_detail::duplicate_name ( const std::string & lower,
const std::vector< TaskInfo > & values )
inline

在文件 tasking.h 第 375 行定义.

◆ expect()

bool plcopen::core::st::tasking_detail::expect ( TokenCursor & cursor,
std::string_view word,
DiagnosticSink & sink )
inline

在文件 tasking.h 第 407 行定义.

◆ find_task()

int plcopen::core::st::tasking_detail::find_task ( const ResourceInfo & resource,
std::string_view lower )
inline

在文件 tasking.h 第 399 行定义.

◆ has_program_declaration()

bool plcopen::core::st::tasking_detail::has_program_declaration ( std::string_view source)
inline

在文件 tasking.h 第 233 行定义.

◆ identifier()

bool plcopen::core::st::tasking_detail::identifier ( const Token & token)
inline

在文件 tasking.h 第 370 行定义.

◆ lower_ascii()

char plcopen::core::st::tasking_detail::lower_ascii ( char value)
inline

在文件 tasking.h 第 168 行定义.

◆ lower_copy()

std::string plcopen::core::st::tasking_detail::lower_copy ( std::string_view value)
inline

在文件 tasking.h 第 175 行定义.

◆ mask_configuration_blocks()

std::string plcopen::core::st::tasking_detail::mask_configuration_blocks ( std::string_view source)
inline

在文件 tasking.h 第 250 行定义.

◆ parse_configurations()

bool plcopen::core::st::tasking_detail::parse_configurations ( std::string_view source,
const ParseLimits & limits,
std::vector< ConfigurationInfo > & result,
std::vector< Diagnostic > & diagnostics )
inline

在文件 tasking.h 第 714 行定义.

◆ parse_mapping()

bool plcopen::core::st::tasking_detail::parse_mapping ( TokenCursor & cursor,
std::string_view source,
const ParseLimits & limits,
ResourceInfo & resource,
DiagnosticSink & sink )
inline

在文件 tasking.h 第 616 行定义.

◆ parse_resource()

bool plcopen::core::st::tasking_detail::parse_resource ( TokenCursor & cursor,
std::string_view source,
const ParseLimits & limits,
ConfigurationInfo & configuration,
DiagnosticSink & sink )
inline

在文件 tasking.h 第 671 行定义.

◆ parse_task()

bool plcopen::core::st::tasking_detail::parse_task ( TokenCursor & cursor,
std::string_view source,
const ParseLimits & limits,
ResourceInfo & resource,
DiagnosticSink & sink )
inline

在文件 tasking.h 第 450 行定义.

◆ read_name()

bool plcopen::core::st::tasking_detail::read_name ( TokenCursor & cursor,
std::string & name,
DiagnosticSink & sink )
inline

在文件 tasking.h 第 418 行定义.

◆ read_signed_integer()

bool plcopen::core::st::tasking_detail::read_signed_integer ( TokenCursor & cursor,
std::int64_t & value )
inline

在文件 tasking.h 第 430 行定义.

◆ same_name()

bool plcopen::core::st::tasking_detail::same_name ( std::string_view lower,
const char * value )
inline

在文件 tasking.h 第 182 行定义.

◆ saturated_add()

std::uint64_t plcopen::core::st::tasking_detail::saturated_add ( std::uint64_t left,
std::uint64_t right )
inlinenoexcept

在文件 tasking.h 第 767 行定义.

◆ source_contains_call()

bool plcopen::core::st::tasking_detail::source_contains_call ( std::string_view source,
std::string_view lower,
std::size_t & offset )
inline

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

◆ source_contains_token()

bool plcopen::core::st::tasking_detail::source_contains_token ( std::string_view source,
std::string_view lower )
inline

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

◆ source_token()

Token plcopen::core::st::tasking_detail::source_token ( std::string_view source,
std::size_t offset )
inline

在文件 tasking.h 第 319 行定义.

◆ token_is()

bool plcopen::core::st::tasking_detail::token_is ( const Token & token,
std::string_view lower )
inline

在文件 tasking.h 第 191 行定义.

◆ token_offset()

std::size_t plcopen::core::st::tasking_detail::token_offset ( std::string_view source,
const Token & token )
inline

在文件 tasking.h 第 196 行定义.