Searched refs:tokenDefs (Results 1 – 2 of 2) sorted by relevance
242 public function tokenDefs() { return $this->_tokenDefs; } function in AST\\ElementDefinition245 public function __construct($name, $fixing, $tokenDefs, $priority, $arity=null, $nested=null) { argument246 if ($tokenDefs instanceof TokenDefinition) {247 $tokenDefs = array($tokenDefs);249 if (!is_array($tokenDefs)) {272 $this->_tokenDefs = $tokenDefs;283 if (count($this->tokenDefs()) != 1) {291 if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity()) {299 if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity()) {307 … if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity() - 1) {[all …]
109 …$message = 'Unmatched opening token ' . $elementDefinition->tokenDefs()[0] . ' for wrapping operat…116 $message .= '". The missing closing token is ' . $elementDefinition->tokenDefs()[1] . '.';