plcopen 0.22.0
载入中...
搜索中...
未找到
ast.h 文件参考
#include <cstdint>
#include <string>
#include <vector>
#include "st/token.h"
#include "st/type_desc.h"
#include "st/types.h"
ast.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

类

struct  plcopen::core::st::AccessStep
struct  plcopen::core::st::InitItem
struct  plcopen::core::st::Expr
struct  plcopen::core::st::CaseLabel
struct  plcopen::core::st::CaseArm
struct  plcopen::core::st::CallParam
struct  plcopen::core::st::Stmt
struct  plcopen::core::st::VarDecl
struct  plcopen::core::st::StructFieldDecl
struct  plcopen::core::st::EnumMemberDecl
struct  plcopen::core::st::UserTypeDecl
struct  plcopen::core::st::SfcActionBlockDecl
struct  plcopen::core::st::SfcStepDecl
struct  plcopen::core::st::SfcTransitionDecl
struct  plcopen::core::st::SfcActionDecl
struct  plcopen::core::st::SfcNetworkDecl
struct  plcopen::core::st::Ast

命名空间

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

类型定义

using plcopen::core::st::ExprIndex = std::int32_t
using plcopen::core::st::StmtIndex = std::int32_t

枚举

enum class  plcopen::core::st::ExprKind : std::uint8_t {
  plcopen::core::st::literal_int , plcopen::core::st::literal_real , plcopen::core::st::literal_bool , plcopen::core::st::literal_time ,
  plcopen::core::st::literal_typed , plcopen::core::st::literal_enum , plcopen::core::st::literal_string , plcopen::core::st::literal_wstring ,
  plcopen::core::st::literal_date , plcopen::core::st::literal_tod , plcopen::core::st::literal_dt , plcopen::core::st::variable ,
  plcopen::core::st::pin_read , plcopen::core::st::unary , plcopen::core::st::binary , plcopen::core::st::call ,
  plcopen::core::st::aggregate_init
}
enum class  plcopen::core::st::UnaryOp : std::uint8_t { plcopen::core::st::negate , plcopen::core::st::logical_not }
enum class  plcopen::core::st::BinaryOp : std::uint8_t {
  plcopen::core::st::add , plcopen::core::st::subtract , plcopen::core::st::multiply , plcopen::core::st::divide ,
  plcopen::core::st::modulo , plcopen::core::st::logical_and , plcopen::core::st::logical_or , plcopen::core::st::logical_xor ,
  plcopen::core::st::cmp_eq , plcopen::core::st::cmp_ne , plcopen::core::st::cmp_lt , plcopen::core::st::cmp_gt ,
  plcopen::core::st::cmp_le , plcopen::core::st::cmp_ge , plcopen::core::st::power
}
enum class  plcopen::core::st::StmtKind : std::uint8_t {
  plcopen::core::st::assign , plcopen::core::st::if_ , plcopen::core::st::case_ , plcopen::core::st::for_ ,
  plcopen::core::st::while_ , plcopen::core::st::repeat , plcopen::core::st::fb_call , plcopen::core::st::output_commit ,
  plcopen::core::st::exit_ , plcopen::core::st::continue_ , plcopen::core::st::return_ , plcopen::core::st::empty
}
enum class  plcopen::core::st::UserTypeKind : std::uint8_t { plcopen::core::st::enum_ , plcopen::core::st::subrange , plcopen::core::st::array , plcopen::core::st::struct_ }
enum class  plcopen::core::st::SfcQualifier : std::uint8_t {
  plcopen::core::st::n = 0 , plcopen::core::st::s , plcopen::core::st::r , plcopen::core::st::l ,
  plcopen::core::st::d , plcopen::core::st::p , plcopen::core::st::sd , plcopen::core::st::ds ,
  plcopen::core::st::sl
}

变量

constexpr ExprIndex plcopen::core::st::kNoExpr = -1