Class Decoder
Parser for Nette Object Notation.
public
mixed
|
boolean |
PATTERNS
|
# ['
\'\'\'\n (?:(?: [^\n] | \n(?![\t\ ]*+\'\'\') )*+ \n)?[\t\ ]*+\'\'\' |
"""\n (?:(?: [^\n] | \n(?![\t\ ]*+""") )*+ \n)?[\t\ ]*+""" |
\'[^\'\n]*+\' |
" (?: \\\\. | [^"\\\\\n] )*+ "
' |
string |
PATTERN_DATETIME
|
# '#\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| ++)\d\d?:\d\d:\d\d(?:\.\d*+)? *+(?:Z|[-+]\d\d?(?::?\d\d)?)?)?\z#A' |
string |
PATTERN_HEX
|
# '#0x[0-9a-fA-F]++\z#A' |
string |
PATTERN_OCTAL
|
# '#0o[0-7]++\z#A' |
string |
PATTERN_BINARY
|
# '#0b[0-1]++\z#A' |
boolean |
SIMPLE_TYPES
|
# ['true'=>'TRUE' |
boolean |
ESCAPE_SEQUENCES
|
# ['t'=>"\t" |
boolean |
BRACKETS
|
# ['['=>']' |
public static
boolean
|
$patterns
|