You are here

public static function EasyRdf_Parser_Turtle::isWhitespace 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::isWhitespace()

Returns true if $c is a whitespace character @ignore

6 calls to EasyRdf_Parser_Turtle::isWhitespace()
EasyRdf_Parser_Turtle::parseNumber in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parses a numeric value, either of type integer, decimal or double @ignore
EasyRdf_Parser_Turtle::parsePredicate in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parse a predicate [11] @ignore
EasyRdf_Parser_Turtle::parsePrefixID in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parse a prefixID [4] @ignore
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
EasyRdf_Parser_Turtle::parseStatement in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parse a statement [2] @ignore

... See full list

File

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

Class

EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.

Code

public static function isWhitespace($c) {

  // Whitespace character are space, tab, newline and carriage return:
  return $c == " " || $c == "\t" || $c == "\n" || $c == "\r";
}