|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| setBuffer ($buffer) | |
| parse () | |
| loadFile ($path, $preprocess=true) | |
| _getChrType ($ch) | |
| _parseUnknown ($ch, $type) | |
| _parseDigit ($ch, $type) | |
| _parseLetter ($ch, $type) | |
| _parseStringLiteral ($ch, $type) | |
| _parseStringLiteralEscape ($ch, $type) | |
| _parseOpenParenthesis ($ch, $type) | |
| _parseCloseParenthesis ($ch, $type) | |
| _parseSeparater ($ch, $type) | |
| _parseSemicolon ($ch, $type) | |
| _parseMark ($ch, $type) | |
| _parseComma ($ch, $type) | |
| _createToken ($type=null, $value=null) | |
| & | getOperations () |
| getSQL () | |
Data Fields | |
| $mTokens = [] | |
| $mStatus = EASYLEX_SQL_UNKNOWN | |
| $mBuffer = [] | |
| $mIndex = 0 | |
| $mActiveToken = '' | |
| $mActiveQuoteMark = null | |
This is BSD easy lexcal scanner for SQL.
Definition at line 62 of file EasyLex_SQLScanner.class.php.
| _createToken | ( | $type = null, | |
| $value = null ) |
Definition at line 308 of file EasyLex_SQLScanner.class.php.
| _getChrType | ( | $ch | ) |
Definition at line 180 of file EasyLex_SQLScanner.class.php.
| _parseCloseParenthesis | ( | $ch, | |
| $type ) |
Definition at line 271 of file EasyLex_SQLScanner.class.php.
| _parseComma | ( | $ch, | |
| $type ) |
Definition at line 303 of file EasyLex_SQLScanner.class.php.
| _parseDigit | ( | $ch, | |
| $type ) |
Definition at line 225 of file EasyLex_SQLScanner.class.php.
| _parseLetter | ( | $ch, | |
| $type ) |
Definition at line 239 of file EasyLex_SQLScanner.class.php.
| _parseMark | ( | $ch, | |
| $type ) |
Definition at line 293 of file EasyLex_SQLScanner.class.php.
| _parseOpenParenthesis | ( | $ch, | |
| $type ) |
Definition at line 266 of file EasyLex_SQLScanner.class.php.
| _parseSemicolon | ( | $ch, | |
| $type ) |
Definition at line 288 of file EasyLex_SQLScanner.class.php.
| _parseSeparater | ( | $ch, | |
| $type ) |
Definition at line 276 of file EasyLex_SQLScanner.class.php.
| _parseStringLiteral | ( | $ch, | |
| $type ) |
Definition at line 249 of file EasyLex_SQLScanner.class.php.
| _parseStringLiteralEscape | ( | $ch, | |
| $type ) |
Definition at line 261 of file EasyLex_SQLScanner.class.php.
| _parseUnknown | ( | $ch, | |
| $type ) |
Definition at line 213 of file EasyLex_SQLScanner.class.php.
| & getOperations | ( | ) |
Return Array of operations.
Reimplemented in Legacy_SQLScanner.
Definition at line 332 of file EasyLex_SQLScanner.class.php.
| getSQL | ( | ) |
Definition at line 362 of file EasyLex_SQLScanner.class.php.
| loadFile | ( | $path, | |
| $preprocess = true ) |
Load file and set buffer. If $preprocess is true, scan commetns and remove these.
| string | $path | file path |
| bool | $preprocess |
Definition at line 155 of file EasyLex_SQLScanner.class.php.
| parse | ( | ) |
Definition at line 88 of file EasyLex_SQLScanner.class.php.
| setBuffer | ( | $buffer | ) |
Definition at line 78 of file EasyLex_SQLScanner.class.php.
| $mActiveQuoteMark = null |
Definition at line 76 of file EasyLex_SQLScanner.class.php.
| $mActiveToken = '' |
Definition at line 74 of file EasyLex_SQLScanner.class.php.
| $mBuffer = [] |
Definition at line 70 of file EasyLex_SQLScanner.class.php.
| $mIndex = 0 |
Definition at line 72 of file EasyLex_SQLScanner.class.php.
| $mStatus = EASYLEX_SQL_UNKNOWN |
Definition at line 65 of file EasyLex_SQLScanner.class.php.
| $mTokens = [] |
Definition at line 64 of file EasyLex_SQLScanner.class.php.