public static function initFromString($queryString, $parserOptions = array()) { $input = new Erfurt_Sparql_Parser_Util_CaseInsensitiveStream($queryString); $lexer = new Erfurt_Sparql_Parser_Sparql11_UpdateLexer($input); $tokens = new CommonTokenStream($lexer); // foreach ($tokens->getTokens() as $t) { // echo $t."\n"; // } $parser = new Erfurt_Sparql_Parser_Sparql11_UpdateParser($tokens); $q = $parser->parse(); }
{ return $this->gSparql10->numericLiteralUnsigned(); } public function deleteTemplate() { $this->gSparql11update->deleteTemplate(); } public function insertData() { $this->gSparql11update->insertData(); } public function verbPath() { $this->gSparql11update->verbPath(); } public function numericLiteralNegative() { return $this->gSparql10->numericLiteralNegative(); } public function string() { return $this->gSparql10->string(); } public function builtInCall() { return $this->gSparql10->builtInCall(); } } Erfurt_Sparql_Parser_Sparql11_UpdateParser::$FOLLOW_updateUnit_in_parse39 = new Set(array()); Erfurt_Sparql_Parser_Sparql11_UpdateParser::$FOLLOW_EOF_in_parse41 = new Set(array(1));