File: Parle_RParser.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (167 lines) | stat: -rw-r--r-- 6,353 bytes parent folder | download | duplicates (2)
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Parle\RParser" namespace="Parle" name="RParser">
  <constant name="ACTION_ERROR" value="0">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ACTION_SHIFT" value="1">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ACTION_REDUCE" value="2">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ACTION_GOTO" value="3">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ACTION_ACCEPT" value="4">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ERROR_SYNTAX" value="0">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ERROR_NON_ASSOCIATIVE" value="1">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="ERROR_UNKOWN_TOKEN" value="2">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <member name="action" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Current parser action that matches one of the action class constants, readonly."/>
      <var type="integer"/>
    </docblock>
  </member>
  <member name="reduceId" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Grammar rule id just processed in the reduce action. The value corresponds either to a token or to a production id. Readonly."/>
      <var type="integer"/>
    </docblock>
  </member>
  <method name="advance" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Process next parser rule"/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="build" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Finalize the grammar rules"/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="consume" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Consume the data for processing"/>
      <return type="void"/>
    </docblock>
    <parameter name="data" optional="false" byreference="false" type="string"/>
    <parameter name="rlexer" optional="false" byreference="false" type="object" class="Parle\RLexer"/>
  </method>
  <method name="dump" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Dump the grammar"/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="errorInfo" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Retrieve the error information"/>
      <return type="Parle\ErrorInfo"/>
    </docblock>
  </method>
  <method name="left" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Declare a token with left-associativity"/>
      <return type="void"/>
    </docblock>
    <parameter name="tok" optional="false" byreference="false" type="string"/>
  </method>
  <method name="nonassoc" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Declare a token with no associativity"/>
      <return type="void"/>
    </docblock>
    <parameter name="tok" optional="false" byreference="false" type="string"/>
  </method>
  <method name="precedence" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Declare a precedence rule"/>
      <return type="void"/>
    </docblock>
    <parameter name="tok" optional="false" byreference="false" type="string"/>
  </method>
  <method name="push" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Add a grammar rule"/>
      <return type="int"/>
    </docblock>
    <parameter name="name" optional="false" byreference="false" type="string"/>
    <parameter name="rule" optional="false" byreference="false" type="string"/>
  </method>
  <method name="reset" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Reset parser state"/>
      <return type="void"/>
    </docblock>
    <parameter name="tokenId" optional="true" byreference="false" type="int"/>
  </method>
  <method name="right" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Declare a token with right-associativity"/>
      <return type="void"/>
    </docblock>
    <parameter name="tok" optional="false" byreference="false" type="string"/>
  </method>
  <method name="sigil" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Retrieve a matching part of a rule"/>
      <return type="string"/>
    </docblock>
    <parameter name="idx" optional="true" byreference="false" type="int"/>
  </method>
  <method name="token" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Declare a token"/>
      <return type="void"/>
    </docblock>
    <parameter name="tok" optional="false" byreference="false" type="string"/>
  </method>
  <method name="tokenId" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Get token id"/>
      <return type="int"/>
    </docblock>
    <parameter name="tok" optional="false" byreference="false" type="string"/>
  </method>
  <method name="trace" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Trace the parser operation"/>
      <return type="string"/>
    </docblock>
  </method>
  <method name="validate" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Validate input"/>
      <return type="bool"/>
    </docblock>
    <parameter name="data" optional="false" byreference="false" type="string"/>
    <parameter name="lexer" optional="false" byreference="false" type="object" class="Parle\RLexer"/>
  </method>
</class>