function __construct($parser, $line) { parent::__construct($parser); if (preg_match('/' . self::REGEX . '/x', $line, $m)) { $parser->subParse($this, $m[1]); } }
function __construct($parser, $v) { parent::__construct($parser); if (preg_match('/' . $this::REGEXP . '/x', $v, $m)) { $parser->subParse($this, $m[1]); } }
function __construct($parser, $v) { parent::__construct($parser); if (preg_match('/' . $this::REGEXP . '/x', $v, $m)) { $parser->subParse($this, $m[1]); } if ($this->isIncomplate($m)) { $this->capStart(array($this, 'input')); } }
function __construct($parser, $v) { parent::__construct($parser); $this->parser = $parser; if (preg_match('/' . $this::REGEXP . '/x', $v, $m)) { $this->func = $m[1]; $this->args = $m[2]; $this->text = isset($m[4]) && !empty($m[4]) ? $m[4] : ""; } if ($this->isIncomplate($m)) { $this->capStart(array($this, 'input')); } }