You are here

public static function EasyRdf_Parser_Turtle::isLanguageStartChar in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php \EasyRdf_Parser_Turtle::isLanguageStartChar()

@ignore

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

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php, line 1299

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;

  # a-z
}