public static function EasyRdf_Parser_Turtle::isPrefixStartChar

@ignore

3 calls to EasyRdf_Parser_Turtle::isPrefixStartChar()
EasyRdf_Parser_Turtle::isNameStartChar in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
@ignore
EasyRdf_Parser_Turtle::parseQNameOrBoolean in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parses qnames and boolean values, which have equivalent starting characters. @ignore
EasyRdf_Parser_Turtle::parseValue in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parses an RDF value. This method parses uriref, qname, node ID, quoted literal, integer, double and boolean. @ignore

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php, line 1070

Class

EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.

Code

public static function isPrefixStartChar($c) {
  $o = ord($c);
  return $o >= 0x41 && $o <= 0x5a || $o >= 0x61 && $o <= 0x7a || $o >= 0xc0 && $o <= 0xd6 || $o >= 0xd8 && $o <= 0xf6 || $o >= 0xf8 && $o <= 0x2ff || $o >= 0x370 && $o <= 0x37d || $o >= 0x37f && $o <= 0x1fff || $o >= 0x200c && $o <= 0x200d || $o >= 0x2070 && $o <= 0x218f || $o >= 0x2c00 && $o <= 0x2fef || $o >= 0x3001 && $o <= 0xd7ff || $o >= 0xf900 && $o <= 0xfdcf || $o >= 0xfdf0 && $o <= 0xfffd || $o >= 0x10000 && $o <= 0xeffff;
}