Skip to main content
summaryrefslogtreecommitdiffstats
blob: 43b65a2efdf35dbfe7ca71f50e78c36d7f83c280 (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
<directive name="jet" start="(1,1)" stop="(1,56)">
    <attribute name="class">Foo</attribute>
    <attribute name="package">org.eclipse.emf.examples</attribute>
</directive>
<data>
Some top level text.
</data>
<expression start="(3,4)" stop="(3,21)"> "An expression" </expression>
<data>
</data>
<declaration start="(4,4)" stop="(8,1)">
int foo() {
	return 3;
}
</declaration>
<data>
</data>
<scriptlet start="(9,3)" stop="(13,1)">
if(foo() > 0) {
	foo();
}
</scriptlet>
<data>
</data>
<comment start="(14,5)" stop="(14,16)"> a comment </comment>
<data>
</data>
<tag name="test:container" start="(15,1)" stop="(15,47)">
    <attribute name="one">test one</attribute>
    <attribute name="two">test two</attribute>
    <content>
        <data>
    </data>
        <tag name="test:empty" start="(16,5)" stop="(16,18)">
        </tag>
        <data>
    </data>
        <tag name="test:container" start="(17,5)" stop="(17,21)">
            <content>
                <data>
        some text <nontest:text attributes="foo"/>
    </data>
            </content>
        </tag>
        <data>
</data>
    </content>
</tag>
<data>
</data>
<comment start="(21,5)" stop="(21,27)"> tags containing Java </comment>
<data>
</data>
<tag name="test:container" start="(22,1)" stop="(22,17)">
    <content>
        <data>
    </data>
        <expression start="(23,8)" stop="(23,16)"> foo(); </expression>
        <data>
    </data>
        <scriptlet start="(24,7)" stop="(24,24)"> if(foo() > 0) { </scriptlet>
        <data>
        some text
    </data>
        <scriptlet start="(26,7)" stop="(26,10)"> } </scriptlet>
        <data>
</data>
    </content>
</tag>
<data>
</data>
<comment start="(28,5)" stop="(28,26)"> Java container tags </comment>
<data>
</data>
<scriptlet start="(29,3)" stop="(29,20)"> if(foo() > 0) { </scriptlet>
<data>
        some text
        </data>
<tag name="test:empty" start="(31,9)" stop="(31,22)">
</tag>
<data>
        </data>
<tag name="test:container" start="(32,9)" stop="(32,25)">
    <content>
        <data>
        </data>
    </content>
</tag>
<data>
</data>
<scriptlet start="(34,3)" stop="(34,6)"> } </scriptlet>
<data>
</data>

Back to the top