Skip to main content
summaryrefslogtreecommitdiffstats
blob: 12086752a1be29679bd47267ccb7b839e1403fc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<directive name="jet" start="(1,1)" stop="(1,56)">
    <attribute name="class">Foo</attribute>
    <attribute name="package">org.eclipse.emf.examples</attribute>
</directive>
<data>
</data>
<comment start="(2,5)" stop="(5,1)"> @header
This is the header comment for the file
It has many lines 
</comment>
<data>
</data>
<comment start="(6,5)" stop="(8,19)"> @class
This is the class comment.
It has many lines </comment>
<data>
Some top level text.
</data>
<expression start="(10,4)" stop="(10,21)"> "An expression" </expression>
<data>
</data>
<declaration start="(11,4)" stop="(15,1)">
int foo() {
	return 3;
}
</declaration>
<data>
</data>
<scriptlet start="(16,3)" stop="(20,1)">
if(foo() > 0) {
	foo();
}
</scriptlet>
<data>
</data>
<comment start="(21,5)" stop="(21,16)"> a comment </comment>
<data>
</data>
<tag name="test:container" start="(22,1)" stop="(22,47)">
    <attribute name="one">test one</attribute>
    <attribute name="two">test two</attribute>
    <content>
        <data>
    </data>
        <tag name="test:empty" start="(23,5)" stop="(23,18)">
        </tag>
        <data>
    </data>
        <tag name="test:container" start="(24,5)" stop="(24,21)">
            <content>
                <data>
        some text <nontest:text attributes="foo"/>
    </data>
            </content>
        </tag>
        <data>
</data>
    </content>
</tag>
<data>
</data>
<comment start="(28,5)" stop="(28,27)"> tags containing Java </comment>
<data>
</data>
<tag name="test:container" start="(29,1)" stop="(29,17)">
    <content>
        <data>
    </data>
        <expression start="(30,8)" stop="(30,16)"> foo(); </expression>
        <data>
    </data>
        <scriptlet start="(31,7)" stop="(31,24)"> if(foo() > 0) { </scriptlet>
        <data>
        some text
    </data>
        <scriptlet start="(33,7)" stop="(33,10)"> } </scriptlet>
        <data>
</data>
    </content>
</tag>
<data>
</data>
<comment start="(35,5)" stop="(35,26)"> Java container tags </comment>
<data>
</data>
<scriptlet start="(36,3)" stop="(36,20)"> if(foo() > 0) { </scriptlet>
<data>
        some text
        </data>
<tag name="test:empty" start="(38,9)" stop="(38,22)">
</tag>
<data>
        </data>
<tag name="test:container" start="(39,9)" stop="(39,25)">
    <content>
        <data>
        </data>
    </content>
</tag>
<data>
</data>
<scriptlet start="(41,3)" stop="(41,6)"> } </scriptlet>
<data>
</data>

Back to the top