Elsa ast nodes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(sorted subtype node list)
m (added machine readable list of nodes in comment)
Line 16: Line 16:
== Elsa Ast Supertype nodes ==
== Elsa Ast Supertype nodes ==


<!-- OLMAR SEPARATION LINE: ADD YOUR MODIFICATIONS OBOVE! -->
<!-- output of oast_wiki -super -->
<!-- output of oast_wiki -super -->
* [[Elsa Ast Type ASTTypeId|ASTTypeId]]
* [[Elsa Ast Type ASTTypeId|ASTTypeId]]
* [[Elsa Ast Type ASTTypeof|ASTTypeof]]
* [[Elsa Ast Type ASTTypeof|ASTTypeof]]
Line 56: Line 56:
* [[Elsa Ast Type Variable|Variable]]
* [[Elsa Ast Type Variable|Variable]]


== Elsa Ast Subtype nodes ==


* [[Elsa Ast Type ASTTypeId|ASTTypeId]] : no subnodes
* [[Elsa Ast Type ASTTypeId|ASTTypeId]] : no subnodes
Line 215: Line 213:
** [[Elsa Ast Type TS_typeof|TS_typeof]]
** [[Elsa Ast Type TS_typeof|TS_typeof]]
* [[Elsa Ast Type Variable|Variable]] : no subnodes
* [[Elsa Ast Type Variable|Variable]] : no subnodes
<!-- easy to parse list of all node types
wiki page name prefix: Elsa Ast Type
ASTTypeId
ASTTypeof TS_typeof_expr TS_typeof_type
ArgExpression
ArgExpressionListOpt
Attribute AT_empty AT_word AT_func
AttributeSpecifier
AttributeSpecifierList
BaseClassSpec
Condition CN_expr CN_decl
Declaration
Declarator
Designator FieldDesignator SubscriptDesignator
Enumerator
ExceptionSpec
Expression E_boolLit E_intLit E_floatLit E_stringLit E_charLit E_this E_variable E_funCall E_constructor E_fieldAcc E_sizeof E_unary E_effect E_binary E_addrOf E_deref E_cast E_cond E_sizeofType E_assign E_new E_delete E_throw E_keywordCast E_typeidExpr E_typeidType E_grouping E_arrow E_statement E_compoundLit E___builtin_constant_p E___builtin_va_arg E_alignofType E_alignofExpr E_gnuCond E_addrOfLabel
FullExpression
FullExpressionAnnot
Function
Handler
IDeclarator D_name D_pointer D_reference D_func D_array D_bitfield D_ptrToMember D_grouping
InheritedTemplateParams
Initializer IN_expr IN_compound IN_ctor IN_designated
Member MR_decl MR_func MR_access MR_usingDecl MR_template
MemberInit
MemberList
NamespaceDecl ND_alias ND_usingDecl ND_usingDir
OperatorName ON_newDel ON_operator ON_conversion
PQName PQ_qualifier PQ_name PQ_operator PQ_template PQ_variable
Statement S_skip S_label S_case S_default S_expr S_compound S_if S_switch S_while S_doWhile S_for S_break S_continue S_return S_goto S_decl S_try S_asm S_namespaceDecl S_function S_rangeCase S_computedGoto
TemplateArgument TA_type TA_nontype TA_templateUsed
TemplateDeclaration TD_func TD_decl TD_tmember
TemplateInfo
TemplateParameter TP_type TP_nontype
TopForm TF_decl TF_func TF_template TF_explicitInst TF_linkage TF_one_linkage TF_asm TF_namespaceDefn TF_namespaceDecl
TranslationUnit
TypeSpecifier TS_name TS_simple TS_elaborated TS_classSpec TS_enumSpec TS_type TS_typeof
Variable
end of node type list -->

Revision as of 10:00, 21 November 2007

This page gives an overview over all Elsa Ast node types. For each node type it links to a page describing this type. Disclaimer: The information here has been generated automatically from the Olmar branch and might therefore be not completely accurate for Elsa.


Elsa Ast nodes use a variant scheme with super- and subtypes. For instance there is the node type Statement with variants for each different statement type, for instance S_if for if-statements and S_while for while loops.

It first follows a table with just the supertype nodes. Further below there is also a table with all subtype nodes.

Elsa Ast Supertype nodes