static function isIdentifier($c) { return com_wiris_util_xml_WCharacterBase::isLetter($c) || $c === 95; }
public function decodeBooleanOrNull() { $sb = new StringBuf(); while (com_wiris_util_xml_WCharacterBase::isLetter($this->c)) { $sb->b .= chr($this->c); $this->nextToken(); } $word = $sb->b; if ($word === "true") { return true; } else { if ($word === "false") { return false; } else { if ($word === "null") { return null; } else { throw new HException("Unrecognized keyword \"" . $word . "\"."); } } } }