static function isOp($c) { return com_wiris_util_xml_WCharacterBase::isLarge($c) || com_wiris_util_xml_WCharacterBase::isVeryLarge($c) || com_wiris_util_xml_WCharacterBase::isBinaryOp($c) || com_wiris_util_xml_WCharacterBase::isRelation($c) || $c === _hx_char_code_at(".", 0) || $c === _hx_char_code_at(",", 0) || $c === _hx_char_code_at(":", 0); }
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 . "\"."); } } } }