class Tlf\Lexer\Ast

Constants

Properties

  • protected $_path;
  • protected $_name;
  • protected $_ext;
  • public $_source;
  • protected $_tree = [];
  • public $_type;

Methods

  • public function __construct($type, $startingTree=[])
  • public function removeAst($key, $ast) Removes an ast if it is setto/addedto this ast. If $key points to an empty array, then $key is unset from this ast