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 __toString() { $ret = parent::__toString(); $ret .= ' (func=' . $this->func . ')'; return $ret; }