From: <net...@us...> - 2003-04-15 19:06:16
|
Update of /cvsroot/cpptool/rfta/doc In directory sc8-pr-cvs1:/tmp/cvs-serv21883/doc Modified Files: AbstractSyntaxSTreeStructure.txt Log Message: -- start documenting new nodes for the full parser Index: AbstractSyntaxSTreeStructure.txt =================================================================== RCS file: /cvsroot/cpptool/rfta/doc/AbstractSyntaxSTreeStructure.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AbstractSyntaxSTreeStructure.txt 30 Dec 2002 10:44:32 -0000 1.5 --- AbstractSyntaxSTreeStructure.txt 15 Apr 2003 19:06:12 -0000 1.6 *************** *** 17,23 **** --- 17,45 ---- Tree structure: + * tree elements at file level + + [unparsed-namespace] + ? namespace-body-property => [unparsed-sourcepart] + ? namespace-alias-property => [#local-scope-identifier] + + [function-implementation] + function-header-property => [unparsed-sourcepart] + function-body-property => [unparsed-compound-statement] + + [unparsed-template] + ? template-body-property => [unparsed-sourcepart] + + [unparsed-linkage] + ? linkage-body-property => [unparsed-sourcepart] + + [using-namespace] + 1 [#local-scope-identifier] + * Statements a function/method body level A function/method body is always a node of type compound-statement + + [unparsed-compound-statement] + #mutate: compound-statement [#break-statement] |