📄 psdl_node.h
字号:
class TAO_PSDL_Export TAO_PSDL_Template_Type_Spec : public TAO_PSDL_Node
{
public:
TAO_PSDL_Template_Type_Spec (TAO_PSDL_Node *type_of_template_type_spec);
virtual ~TAO_PSDL_Template_Type_Spec (void);
/// Get the value
TAO_PSDL_Node *type_of_template_type_spec (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_of_template_type_spec_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Constr_Type_Spec : public TAO_PSDL_Node
{
public:
TAO_PSDL_Constr_Type_Spec (TAO_PSDL_Node *type_of_constr_type_spec);
virtual ~TAO_PSDL_Constr_Type_Spec (void);
/// Get the value
TAO_PSDL_Node *type_of_constr_type_spec (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_of_constr_type_spec_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Declarators : public TAO_PSDL_Node
{
public:
TAO_PSDL_Declarators (TAO_PSDL_Node *declarator);
TAO_PSDL_Declarators (TAO_PSDL_Node *declarator,
TAO_PSDL_Node *set_of_declarators);
virtual ~TAO_PSDL_Declarators (void);
/// Get the value
TAO_PSDL_Node *declarator (void) const;
TAO_PSDL_Node *set_of_declarators (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *declarator_;
TAO_PSDL_Node *set_of_declarators_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Declarator : public TAO_PSDL_Node
{
public:
TAO_PSDL_Declarator (TAO_PSDL_Node *type_of_declarator);
virtual ~TAO_PSDL_Declarator (void);
/// Get the value
TAO_PSDL_Node *type_of_declarator (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_of_declarator_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Simple_Declarator : public TAO_PSDL_Node
{
public:
TAO_PSDL_Simple_Declarator (TAO_PSDL_Node *identifier);
TAO_PSDL_Simple_Declarator (TAO_PSDL_Node *identifier,
TAO_PSDL_Node *simple_declarator);
virtual ~TAO_PSDL_Simple_Declarator (void);
/// Get the value
TAO_PSDL_Node *identifier (void) const;
TAO_PSDL_Node *simple_declarator (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *identifier_;
TAO_PSDL_Node *simple_declarator_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Simple_Declarator_List : public TAO_PSDL_Node
{
public:
TAO_PSDL_Simple_Declarator_List (TAO_PSDL_Node *simple_declarator);
TAO_PSDL_Simple_Declarator_List (TAO_PSDL_Node *simple_declarator_list,
TAO_PSDL_Node *simple_declarator);
virtual ~TAO_PSDL_Simple_Declarator_List (void);
/// Get the value
TAO_PSDL_Node *simple_declarator_list (void) const;
TAO_PSDL_Node *simple_declarator (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *simple_declarator_list_;
TAO_PSDL_Node *simple_declarator_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Complex_Declarator : public TAO_PSDL_Node
{
public:
TAO_PSDL_Complex_Declarator (TAO_PSDL_Node *array_declarator);
virtual ~TAO_PSDL_Complex_Declarator (void);
/// Get the value
TAO_PSDL_Node *array_declarator (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *array_declarator_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Predefined_Type : public TAO_PSDL_Node
{
public:
TAO_PSDL_Predefined_Type (int type_one);
TAO_PSDL_Predefined_Type (int type_one,
int type_two);
TAO_PSDL_Predefined_Type (int type_one,
int type_two,
int type_three);
TAO_PSDL_Predefined_Type (int type_one,
TAO_PSDL_Node *type_of_variable_one);
TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one);
TAO_PSDL_Predefined_Type (int type_one,
TAO_PSDL_Node *type_of_variable_one,
TAO_PSDL_Node *type_of_variable_two);
TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one,
TAO_PSDL_Node *type_of_variable_two);
TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one,
TAO_PSDL_Node *type_of_variable_two,
TAO_PSDL_Node *type_of_variable_three);
virtual ~TAO_PSDL_Predefined_Type (void);
/// Get the value
int type_one (void) const;
int type_two (void) const;
int type_three (void) const;
TAO_PSDL_Node *type_of_variable_one (void) const;
TAO_PSDL_Node *type_of_variable_two (void) const;
TAO_PSDL_Node *type_of_variable_three (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
int type_one_;
int type_two_;
int type_three_;
TAO_PSDL_Node *type_of_variable_one_;
TAO_PSDL_Node *type_of_variable_two_;
TAO_PSDL_Node *type_of_variable_three_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Member_List : public TAO_PSDL_Node
{
public:
TAO_PSDL_Member_List (TAO_PSDL_Node *member);
TAO_PSDL_Member_List (TAO_PSDL_Node *member,
TAO_PSDL_Node *member_list);
virtual ~TAO_PSDL_Member_List (void);
/// Get the value
TAO_PSDL_Node *member (void) const;
TAO_PSDL_Node *member_list (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *member_;
TAO_PSDL_Node *member_list_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Member : public TAO_PSDL_Node
{
public:
TAO_PSDL_Member (TAO_PSDL_Node *type_spec,
TAO_PSDL_Node *declarators);
virtual ~TAO_PSDL_Member (void);
/// Get the value
TAO_PSDL_Node *type_spec (void) const;
TAO_PSDL_Node *declarators (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_spec_;
TAO_PSDL_Node *declarators_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Union_Type : public TAO_PSDL_Node
{
public:
TAO_PSDL_Union_Type (TAO_PSDL_Node *identifier,
TAO_PSDL_Node *switch_type_spec,
TAO_PSDL_Node *switch_body);
virtual ~TAO_PSDL_Union_Type (void);
/// Get the value
TAO_PSDL_Node *identifier (void) const;
TAO_PSDL_Node *switch_type_spec (void) const;
TAO_PSDL_Node *switch_body (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *identifier_;
TAO_PSDL_Node *switch_type_spec_;
TAO_PSDL_Node *switch_body_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Switch_Type_Spec : public TAO_PSDL_Node
{
public:
TAO_PSDL_Switch_Type_Spec (TAO_PSDL_Node *type);
virtual ~TAO_PSDL_Switch_Type_Spec (void);
/// Get the value
TAO_PSDL_Node *type (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Switch_Body : public TAO_PSDL_Node
{
public:
TAO_PSDL_Switch_Body (TAO_PSDL_Node *switch_case);
TAO_PSDL_Switch_Body (TAO_PSDL_Node *switch_case,
TAO_PSDL_Node *switch_body);
virtual ~TAO_PSDL_Switch_Body (void);
/// Get the value
TAO_PSDL_Node *switch_case (void) const;
TAO_PSDL_Node *switch_body (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *switch_case_;
TAO_PSDL_Node *switch_body_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Case : public TAO_PSDL_Node
{
public:
TAO_PSDL_Case (TAO_PSDL_Node *case_label,
TAO_PSDL_Node *element_spec);
virtual ~TAO_PSDL_Case (void);
/// Get the value
TAO_PSDL_Node *case_label (void) const;
TAO_PSDL_Node *element_spec (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *case_label_;
TAO_PSDL_Node *element_spec_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Case_Label : public TAO_PSDL_Node
{
public:
TAO_PSDL_Case_Label (TAO_PSDL_Node * type);
TAO_PSDL_Case_Label (TAO_PSDL_Node * type,
TAO_PSDL_Node *const_exp);
TAO_PSDL_Case_Label (TAO_PSDL_Node * type,
TAO_PSDL_Node *const_exp,
TAO_PSDL_Node *case_label);
virtual ~TAO_PSDL_Case_Label (void);
/// Get the value
TAO_PSDL_Node * type (void) const;
TAO_PSDL_Node *const_exp (void) const;
TAO_PSDL_Node *case_label (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node * type_;
TAO_PSDL_Node *const_exp_;
TAO_PSDL_Node *case_label_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Element_Spec : public TAO_PSDL_Node
{
public:
TAO_PSDL_Element_Spec (TAO_PSDL_Node *type_spec,
TAO_PSDL_Node *declarator);
virtual ~TAO_PSDL_Element_Spec (void);
/// Get the value
TAO_PSDL_Node *type_spec (void) const;
TAO_PSDL_Node *declarator (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_spec_;
TAO_PSDL_Node *declarator_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Const_Dcl : public TAO_PSDL_Node
{
public:
TAO_PSDL_Const_Dcl (TAO_PSDL_Node *const_type,
TAO_PSDL_Node *identifier,
TAO_PSDL_Node *const_exp);
virtual ~TAO_PSDL_Const_Dcl (void);
/// Get the value
TAO_PSDL_Node *const_type (void) const;
TAO_PSDL_Node *identifier (void) const;
TAO_PSDL_Node *const_exp (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *const_type_;
TAO_PSDL_Node *identifier_;
TAO_PSDL_Node *const_exp_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Const_Type : public TAO_PSDL_Node
{
public:
TAO_PSDL_Const_Type (TAO_PSDL_Node *type);
virtual ~TAO_PSDL_Const_Type (void);
/// Get the value
TAO_PSDL_Node *type (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *type_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Const_Exp : public TAO_PSDL_Node
{
public:
TAO_PSDL_Const_Exp (TAO_PSDL_Node *expr);
virtual ~TAO_PSDL_Const_Exp (void);
/// Get the value
TAO_PSDL_Node *expr (void) const;
/// = The Node methods.
int accept (TAO_PSDL_Node_Visitor *visitor);
private:
/// The values
TAO_PSDL_Node *expr_;
};
/// ****************************************************************
class TAO_PSDL_Export TAO_PSDL_Or_Expr : public TAO_PSDL_Node
{
public:
TAO_PSDL_Or_Expr (TAO_PSDL_Node *xor_expr);
TAO_PSDL_Or_Expr (TAO_PSDL_Node *or_expr,
TAO_PSDL_Node *xor_expr);
virtual ~TAO_PSDL_Or_Expr (void);
/// Get the value
TAO_PSDL_Node *or_expr (void) const;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -