You are here

public static function EasyRdf_Parser_Turtle::isNameStartChar in Zircon Profile 8

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

@ignore

3 calls to EasyRdf_Parser_Turtle::isNameStartChar()
EasyRdf_Parser_Turtle::isNameChar in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
@ignore
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 1248

Class

EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.

Code

public static function isNameStartChar($c) {
  return $c == '\\' || $c == '_' || $c == ':' || $c == '%' || ctype_digit($c) || self::isPrefixStartChar($c);
}