Esempio n. 1
0
 public static function initFromString($queryString, $parserOptions = array())
 {
     $input = new Erfurt_Sparql_Parser_Util_CaseInsensitiveStream($queryString);
     $lexer = new Erfurt_Sparql_Parser_Sparql11_QueryLexer($input);
     $tokens = new CommonTokenStream($lexer);
     $parser = new Erfurt_Sparql_Parser_Sparql11_QueryParser($tokens);
     $retval = $parser->parse();
     return array('retval' => $retval, 'errors' => array_merge($lexer->getErrors(), $parser->getErrors()));
 }
Esempio n. 2
0
    {
        $this->gSparql11query->propertyList();
    }
    public function groupGraphPattern()
    {
        $this->gSparql11query->groupGraphPattern();
    }
    public function numericLiteralNegative()
    {
        $this->gSparql11query->numericLiteralNegative();
    }
    public function triplesSameSubject()
    {
        $this->gSparql11query->triplesSameSubject();
    }
    public function multiplicativeExpression()
    {
        $this->gSparql11query->multiplicativeExpression();
    }
    public function propertyListNotEmpty()
    {
        $this->gSparql11query->propertyListNotEmpty();
    }
    public function varOrTerm()
    {
        $this->gSparql11query->varOrTerm();
    }
}
Erfurt_Sparql_Parser_Sparql11_QueryParser::$FOLLOW_query11_in_parse37 = new Set(array());
Erfurt_Sparql_Parser_Sparql11_QueryParser::$FOLLOW_EOF_in_parse39 = new Set(array(1));