public static function EasyRdf_Parser_Turtle::isNameChar in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php \EasyRdf_Parser_Turtle::isNameChar()
@ignore
2 calls to EasyRdf_Parser_Turtle::isNameChar()
- EasyRdf_Parser_Turtle::parseNodeID in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Turtle.php - Parses a blank node ID, e.g: _:node1 @ignore
- EasyRdf_Parser_Turtle::parseQNameOrBoolean in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Turtle.php - Parses qnames and boolean values, which have equivalent starting characters. @ignore
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ Turtle.php, line 1260
Class
- EasyRdf_Parser_Turtle
- Class to parse Turtle with no external dependancies.
Code
public static function isNameChar($c) {
$o = ord($c);
return self::isNameStartChar($c) || $o >= 0x30 && $o <= 0x39 || $c == '-' || $o == 0xb7 || $o >= 0x300 && $o <= 0x36f || $o >= 0x203f && $o <= 0x2040;
}