phpyLang.php
Table of Contents
-
ARGS
= '\\((?<args>[^()]*+(?:\\((?&args)\\)[^()]*+)*+)\\)'
-
LIB
= '(?(DEFINE)
(?<singleQuotedString>\'[^\\\\\']*+(?:\\\\.[^\\\\\']*+)*+\')
(?<doubleQuotedString>"[^\\\\"]*+(?:\\\\.[^\\\\"]*+)*+")
(?<string>(?&singleQuotedString)|(?&doubleQuotedString))
(?<comment>/\\*[^*]*+(?:\\*(?!/)[^*]*+)*+\\*/)
(?<code>\\{[^\'"/{}]*+(?:(?:(?&string)|(?&comment)|(?&code)|/)[^\'"/{}]*+)*+})
)'
-
PARAMS
= '\\[(?<params>[^[\\]]*+(?:\\[(?¶ms)\\][^[\\]]*+)*+)\\]'
-
preprocessGrammar()
: mixed
-
resolveNodes()
: mixed
-
resolveMacros()
: mixed
-
assertArgs()
: mixed
-
resolveStackAccess()
: mixed
-
removeTrailingWhitespace()
: mixed
-
regex()
: mixed
-
magicSplit()
: mixed
ARGS
public
mixed
ARGS
= '\\((?<args>[^()]*+(?:\\((?&args)\\)[^()]*+)*+)\\)'
LIB
public
mixed
LIB
= '(?(DEFINE)
(?<singleQuotedString>\'[^\\\\\']*+(?:\\\\.[^\\\\\']*+)*+\')
(?<doubleQuotedString>"[^\\\\"]*+(?:\\\\.[^\\\\"]*+)*+")
(?<string>(?&singleQuotedString)|(?&doubleQuotedString))
(?<comment>/\\*[^*]*+(?:\\*(?!/)[^*]*+)*+\\*/)
(?<code>\\{[^\'"/{}]*+(?:(?:(?&string)|(?&comment)|(?&code)|/)[^\'"/{}]*+)*+})
)'
PARAMS
public
mixed
PARAMS
= '\\[(?<params>[^[\\]]*+(?:\\[(?¶ms)\\][^[\\]]*+)*+)\\]'
preprocessGrammar()
preprocessGrammar(mixed $code) : mixed
Parameters
-
$code
: mixed
-
Return values
mixed
—
resolveNodes()
resolveNodes(mixed $code) : mixed
Parameters
-
$code
: mixed
-
Return values
mixed
—
resolveMacros()
resolveMacros(mixed $code) : mixed
Parameters
-
$code
: mixed
-
Return values
mixed
—
assertArgs()
assertArgs(mixed $num, mixed $args, mixed $name) : mixed
Parameters
-
$num
: mixed
-
-
$args
: mixed
-
-
$name
: mixed
-
Return values
mixed
—
resolveStackAccess()
resolveStackAccess(mixed $code) : mixed
Parameters
-
$code
: mixed
-
Return values
mixed
—
removeTrailingWhitespace()
removeTrailingWhitespace(mixed $code) : mixed
Parameters
-
$code
: mixed
-
Return values
mixed
—
regex()
regex(mixed $regex) : mixed
Parameters
-
$regex
: mixed
-
Return values
mixed
—
magicSplit()
magicSplit(mixed $regex, mixed $string) : mixed
Parameters
-
$regex
: mixed
-
-
$string
: mixed
-
Return values
mixed
—