public static function EasyRdf_Parser_Turtle::isLanguageStartChar

@ignore

1 call to EasyRdf_Parser_Turtle::isLanguageStartChar()
EasyRdf_Parser_Turtle::parseQuotedLiteral in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parses a quoted string, optionally followed by a language tag or datatype.

File

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

Class

EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.

Code

public static function isLanguageStartChar($c) {
  $o = ord($c);
  return $o >= 0x41 && $o <= 0x5a || $o >= 0x61 && $o <= 0x7a;
}