Jsont\Compiler
Synopsis
class Compiler
{
- // members
- protected static array $commands = ;
- protected integer $index = 1;
- protected array $array_methods = ;
- protected array $include_methods = ;
- protected array $cached_methods = ;
- protected integer $context_count = 0;
- protected integer $last_context_index = 0;
- // methods
- public void __construct()
- public string compile()
- private void incrementContextIndex()
- protected void compileCode()
- protected void compileToken()
- protected void compileArray()
- protected void compileScalar()
- protected void compileCollection()
- protected void compileSimpleCollection()
- protected void createArrayMethod()
- protected void createIncludeMethod()
- protected void isWidgetChain()
- protected void getContextName()
- protected void addStatement()
- protected void compileChain()
- protected void createCachedMethod()
- protected void indent()
- protected void parseNodes()
- protected void evaluateKey()
- protected void parseValue()
- public void getLine()
Members
protected
- $array_methods
- $cached_methods
- $commands
- $context_count
- $include_methods
- $index
- $last_context_index
Methods
private
protected
- addStatement()
- compileArray()
- compileChain()
- compileCode()
- compileCollection()
- compileScalar()
- compileSimpleCollection()
- compileToken()
- createArrayMethod()
- createCachedMethod()
- createIncludeMethod()
- evaluateKey()
- getContextName()
- indent()
- isWidgetChain()
- parseNodes()
- parseValue()
public
- __construct()
- compile() — Compiles tokens to PHP code.
- getLine()