sql-psi
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
sql-psi
core
/
com.alecstrong.sql.psi.core.lexer
/
SqlLexer
Sql
Lexer
open
class
SqlLexer
:
FlexLexer
Members
Constructors
Sql
Lexer
Link copied to clipboard
constructor
(
)
constructor
(
in
:
Reader
)
Creates a new scanner
Properties
YYEOF
Link copied to clipboard
val
YYEOF
:
Int
=
-1
This character denotes the end of file
YYINITIAL
Link copied to clipboard
val
YYINITIAL
:
Int
=
0
lexical states
Functions
advance
Link copied to clipboard
open
fun
advance
(
)
:
IElementType
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
get
Token
End
Link copied to clipboard
fun
getTokenEnd
(
)
:
Int
get
Token
Start
Link copied to clipboard
fun
getTokenStart
(
)
:
Int
reset
Link copied to clipboard
open
fun
reset
(
buffer
:
CharSequence
,
start
:
Int
,
end
:
Int
,
initialState
:
Int
)
yybegin
Link copied to clipboard
fun
yybegin
(
newState
:
Int
)
Enters a new lexical state
yycharat
Link copied to clipboard
fun
yycharat
(
pos
:
Int
)
:
Char
Returns the character at position
pos
from the matched text.
yylength
Link copied to clipboard
fun
yylength
(
)
:
Int
Returns the length of the matched text region.
yypushback
Link copied to clipboard
open
fun
yypushback
(
number
:
Int
)
Pushes the specified amount of characters back into the input stream.
yystate
Link copied to clipboard
fun
yystate
(
)
:
Int
Returns the current lexical state.
yytext
Link copied to clipboard
fun
yytext
(
)
:
CharSequence
Returns the text matched by the current regular expression.