You are here

protected function EasyRdf_Parser_Turtle::unread 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::unread()

Steps back, restoring the previous character read() to the input buffer @ignore

12 calls to EasyRdf_Parser_Turtle::unread()
EasyRdf_Parser_Turtle::parseImplicitBlank in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php
Parses a blankNodePropertyList [15]
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::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

... See full list

File

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

Class

EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.

Code

protected function unread($c) {

  # FIXME: deal with unreading new lines
  $this->column -= mb_strlen($c, "UTF-8");
  $this->data = $c . $this->data;
}