Parser
in package
Table of Contents
- COMMENT_STATE = 4
- ESCAPE_STATE = 2
- INITIAL_STATE = 0
- QUOTED_STATE = 1
- WHITESPACE_STATE = 3
- parseName() : string
- Parse the given variable name.
- parseQuotedValue() : string
- Parse the given quoted value.
- parseUnquotedValue() : string
- Parse the given unquoted value.
- parseValue() : string
- Parse the given variable value.
Constants
COMMENT_STATE
public
mixed
COMMENT_STATE
= 4
ESCAPE_STATE
public
mixed
ESCAPE_STATE
= 2
INITIAL_STATE
public
mixed
INITIAL_STATE
= 0
QUOTED_STATE
public
mixed
QUOTED_STATE
= 1
WHITESPACE_STATE
public
mixed
WHITESPACE_STATE
= 3
Methods
parseName()
Parse the given variable name.
public
static parseName(string $name) : string
Parameters
- $name : string
Return values
string —parseQuotedValue()
Parse the given quoted value.
public
static parseQuotedValue(string $value) : string
Parameters
- $value : string
Tags
Return values
string —parseUnquotedValue()
Parse the given unquoted value.
public
static parseUnquotedValue(string $value) : string
Parameters
- $value : string
Tags
Return values
string —parseValue()
Parse the given variable value.
public
static parseValue(string $value) : string
Parameters
- $value : string