File: Parle_RLexer.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 (151 lines) | stat: -rw-r--r-- 5,832 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
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Parle\RLexer" namespace="Parle" name="RLexer">
  <constant name="ICASE" value="1">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="DOT_NOT_LF" value="2">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="DOT_NOT_CRLF" value="4">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="SKIP_WS" value="8">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="MATCH_ZERO_LEN" value="16">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <member name="bol" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Start of input flag."/>
      <var type="boolean"/>
    </docblock>
  </member>
  <member name="flags" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Lexer flags."/>
      <var type="integer"/>
    </docblock>
  </member>
  <member name="state" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Current lexer state, readonly."/>
      <var type="integer"/>
    </docblock>
  </member>
  <member name="marker" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Position of the latest token match, readonly."/>
      <var type="integer"/>
    </docblock>
  </member>
  <member name="cursor" static="false" visibility="public">
    <default>null</default>
    <docblock>
      <description compact="Current input offset, readonly."/>
      <var type="integer"/>
    </docblock>
  </member>
  <method name="advance" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Process next lexer rule"/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="build" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Finalize the lexer rule set"/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="callout" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Define token callback"/>
      <return type="void"/>
    </docblock>
    <parameter name="id" optional="false" byreference="false" type="int"/>
    <parameter name="callback" optional="false" byreference="false" type="object" class="callable"/>
  </method>
  <method name="consume" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Pass the data for processing"/>
      <return type="void"/>
    </docblock>
    <parameter name="data" optional="false" byreference="false" type="string"/>
  </method>
  <method name="dump" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Dump the state machine"/>
      <return type="void"/>
    </docblock>
  </method>
  <method name="getToken" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Retrieve the current token"/>
      <return type="Parle\Token"/>
    </docblock>
  </method>
  <method name="insertMacro" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Insert regex macro"/>
      <return type="void"/>
    </docblock>
    <parameter name="name" optional="false" byreference="false" type="string"/>
    <parameter name="regex" optional="false" byreference="false" type="string"/>
  </method>
  <method name="push" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Add a lexer rule">Push a pattern for lexeme recognition.</description>
      <return type="void"/>
    </docblock>
    <parameter name="regex" optional="false" byreference="false" type="string"/>
    <parameter name="id" optional="false" byreference="false" type="int"/>
  </method>
  <method name="push" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Add a lexer rule">Push a pattern for lexeme recognition.</description>
      <return type="void"/>
    </docblock>
    <parameter name="state" optional="false" byreference="false" type="string"/>
    <parameter name="regex" optional="false" byreference="false" type="string"/>
    <parameter name="id" optional="false" byreference="false" type="int"/>
    <parameter name="newState" optional="false" byreference="false" type="string"/>
  </method>
  <method name="push" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Add a lexer rule">Push a pattern for lexeme recognition.</description>
      <return type="void"/>
    </docblock>
    <parameter name="state" optional="false" byreference="false" type="string"/>
    <parameter name="regex" optional="false" byreference="false" type="string"/>
    <parameter name="newState" optional="false" byreference="false" type="string"/>
  </method>
  <method name="pushState" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Push a new start state"/>
      <return type="int"/>
    </docblock>
    <parameter name="state" optional="false" byreference="false" type="string"/>
  </method>
  <method name="reset" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Reset lexer"/>
      <return type="void"/>
    </docblock>
    <parameter name="pos" optional="false" byreference="false" type="int"/>
  </method>
</class>