Method | Description | |
---|---|---|
__construct ( $str ) | ||
getSnippets ( ) | ||
getText ( ) | ||
mapPos ( integer $pos ) | 将剪切后的字符串位置转换成原始字符串位置 |
Method | Description | |
---|---|---|
stateESC ( $str, $pos, &$next ) | 进入转义状态 | |
stateNormal ( $str, $pos, &$next ) | 普通状态 | |
stateQ ( $str, $pos, &$next ) | 进入引号状态 |