plcopen 0.22.0
载入中...
搜索中...
未找到
l2b.h 文件参考
#include <algorithm>
#include <cctype>
#include <cstdint>
#include <limits>
#include <map>
#include <set>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "st/standard_names.h"
l2b.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

类

struct  plcopen::core::st::l2b_detail::Var
struct  plcopen::core::st::l2b_detail::Pou
struct  plcopen::core::st::l2b_detail::TypeUnit
struct  plcopen::core::st::l2b_detail::Project
struct  plcopen::core::st::l2b_detail::Actual
struct  plcopen::core::st::l2b_detail::Expansion
struct  plcopen::core::st::l2b_detail::Expansion::ExprExpansion
struct  plcopen::core::st::l2b_detail::Expansion::FbRef
struct  plcopen::core::st::l2b_detail::Expansion::StatementSlice
struct  plcopen::core::st::l2b_detail::TypeLayout

命名空间

namespace  plcopen
namespace  plcopen::core
namespace  plcopen::core::st
namespace  plcopen::core::st::l2b_detail

类型定义

using plcopen::core::st::l2b_detail::TypeLayouts = std::map<std::string, TypeLayout>

枚举

enum class  plcopen::core::st::l2b_detail::PouKind : std::uint8_t { plcopen::core::st::l2b_detail::function_ , plcopen::core::st::l2b_detail::function_block , plcopen::core::st::l2b_detail::program }
enum class  plcopen::core::st::l2b_detail::VarKind : std::uint8_t {
  plcopen::core::st::l2b_detail::input , plcopen::core::st::l2b_detail::output , plcopen::core::st::l2b_detail::inout , plcopen::core::st::l2b_detail::local ,
  plcopen::core::st::l2b_detail::temp , plcopen::core::st::l2b_detail::external , plcopen::core::st::l2b_detail::global
}

函数

char plcopen::core::st::l2b_detail::lower_char (char c)
std::string plcopen::core::st::l2b_detail::lower_copy (std::string_view text)
std::string plcopen::core::st::l2b_detail::canonical_type_spelling (std::string_view text)
bool plcopen::core::st::l2b_detail::ident_char (char c)
std::string plcopen::core::st::l2b_detail::trim (std::string_view text)
bool plcopen::core::st::l2b_detail::word_at (std::string_view source, std::size_t at, std::string_view word)
std::size_t plcopen::core::st::l2b_detail::find_word (std::string_view source, std::string_view word, std::size_t from=0)
std::size_t plcopen::core::st::l2b_detail::skip_space (std::string_view text, std::size_t at)
std::string plcopen::core::st::l2b_detail::read_ident (std::string_view text, std::size_t &at)
std::vector< std::string > plcopen::core::st::l2b_detail::split_top (std::string_view text, char delimiter)
std::size_t plcopen::core::st::l2b_detail::find_top_operator (std::string_view text, std::string_view op)
void plcopen::core::st::l2b_detail::parse_declarations (std::string_view block, VarKind kind, std::vector< Var > &out)
VarKind plcopen::core::st::l2b_detail::declaration_kind (std::string_view keyword)
void plcopen::core::st::l2b_detail::parse_unit_body (std::string_view content, Pou &pou)
bool plcopen::core::st::l2b_detail::parse_project (std::string_view source, Project &project, std::vector< Diagnostic > &diagnostics)
void plcopen::core::st::l2b_detail::normalize_project_order (Project &project, const CompileOptions &options)
bool plcopen::core::st::l2b_detail::contains_word (std::string_view source, std::string_view word)
void plcopen::core::st::l2b_detail::add_diag (std::vector< Diagnostic > &diagnostics, DiagCode code)
const Var * plcopen::core::st::l2b_detail::find_var (const std::vector< Var > &vars, std::string_view name)
const Pou * plcopen::core::st::l2b_detail::find_pou (const Project &project, std::string_view name, PouKind kind)
std::vector< std::string > plcopen::core::st::l2b_detail::called_functions (const Project &project, const Pou &pou)
int plcopen::core::st::l2b_detail::call_depth (const Project &project, const Pou &pou, std::set< std::string > &visiting, bool &cycle)
int plcopen::core::st::l2b_detail::instance_type_depth (const Project &project, const Pou &pou, std::set< std::string > &visiting, bool &cycle)
std::vector< Actual > plcopen::core::st::l2b_detail::parse_actuals (std::string_view text)
bool plcopen::core::st::l2b_detail::lvalue (std::string_view text)
std::string plcopen::core::st::l2b_detail::default_value (std::string_view type)
bool plcopen::core::st::l2b_detail::builtin_value_type (std::string_view type)
bool plcopen::core::st::l2b_detail::add_layout_type (const Project &project, const std::string &type, std::map< std::string, std::string > &types)
bool plcopen::core::st::l2b_detail::build_type_layouts (const Project &project, const CompileOptions &options, TypeLayouts &layouts, std::vector< Diagnostic > &diagnostics)
bool plcopen::core::st::l2b_detail::append_layout (std::uint64_t &offset, TypeLayout layout)
bool plcopen::core::st::l2b_detail::finish_layout (std::uint64_t &bytes)
const TypeLayout * plcopen::core::st::l2b_detail::find_layout (const TypeLayouts &layouts, std::string_view type)
bool plcopen::core::st::l2b_detail::exact_declared_type (const TypeLayouts &layouts, std::string_view left, std::string_view right)
bool plcopen::core::st::l2b_detail::pou_frame_bytes (const Project &project, const Pou &pou, const TypeLayouts &layouts, std::uint32_t &bytes, std::set< std::string > &visiting)
bool plcopen::core::st::l2b_detail::pou_frame_bytes (const Project &project, const Pou &pou, const TypeLayouts &layouts, std::uint32_t &bytes)
bool plcopen::core::st::l2b_detail::instance_own_bytes (const Project &project, const Pou &pou, const TypeLayouts &layouts, std::uint32_t &bytes)
std::string plcopen::core::st::l2b_detail::declaration_text (const Var &var)
bool plcopen::core::st::l2b_detail::compile_pou_report_image (const Project &project, const Pou &pou, const CompileOptions &options, std::vector< Diagnostic > &diagnostics, Program &report)
bool plcopen::core::st::l2b_detail::project_semantics (const Project &project, const CompileOptions &options, const TypeLayouts &layouts, std::vector< Diagnostic > &diagnostics, std::uint16_t &max_calls, std::uint16_t &max_instances)
CompileResult plcopen::core::st::l2b_detail::compile_project (std::string_view source, const CompileOptions &options)