org.jrdf.sparql.analysis
Class NumericExpressionAnalyserImpl

java.lang.Object
  extended by org.jrdf.sparql.parser.analysis.AnalysisAdapter
      extended by org.jrdf.sparql.parser.analysis.DepthFirstAdapter
          extended by org.jrdf.sparql.analysis.NumericExpressionAnalyserImpl
All Implemented Interfaces:
NumericExpressionAnalyser, Analysis, Switch

public class NumericExpressionAnalyserImpl
extends DepthFirstAdapter
implements NumericExpressionAnalyser


Constructor Summary
NumericExpressionAnalyserImpl(LiteralBuilder newLiteralBuilder, VariableCollector newCollector, URIReferenceBuilder newUriBuilder)
           
 
Method Summary
 void caseABoundBuiltincall(ABoundBuiltincall node)
           
 void caseAFalseBooleanLiteral(AFalseBooleanLiteral node)
           
 void caseAIriRefIriRefOrPrefixedName(AIriRefIriRefOrPrefixedName node)
           
 void caseALangBuiltincall(ALangBuiltincall node)
           
 void caseAPrefixedNameIriRefOrPrefixedName(APrefixedNameIriRefOrPrefixedName node)
           
 void caseARdfLiteralPrimaryExpression(ARdfLiteralPrimaryExpression node)
           
 void caseAStrBuiltincall(AStrBuiltincall node)
           
 void caseATrueBooleanLiteral(ATrueBooleanLiteral node)
           
 void caseAVariable(AVariable node)
           
 Expression getExpression()
           
 
Methods inherited from class org.jrdf.sparql.parser.analysis.DepthFirstAdapter
caseAAdditiveExpression, caseAAskClause, caseAAskQueryStart, caseABlockOfTriples, caseABlockOfTriplesFilteredBasicGraphPattern, caseABooleanLiteralLiteral, caseABooleanLiteralPrimaryExpression, caseABooleanNotUnaryExpression, caseABracketedExpression, caseABracketedExpressionConstraint, caseABracketedExpressionPrimaryExpression, caseABracketedVar, caseABuiltincallConstraint, caseABuiltincallPrimaryExpression, caseAConditionalAndExpression, caseAConditionalOrExpression, caseADatatypeBuiltincall, caseADbQuotedEscapedDbQuotedStrand, caseADbQuotedLiteralLiteralValue, caseADbQuotedUnescapedDbQuotedStrand, caseADecimalUnsignedNumericLiteral, caseADefaultSourceSelectorDatasetClause, caseADoubleUnsignedNumericLiteral, caseAEMoreNumericExpression, caseAFilteredBasicGraphPatternGraphPattern, caseAFilterPattern, caseAFilterPatternGraphPatternOrFilter, caseAGraphPatternNotTriplesGraphPatternOrFilter, caseAGraphPatternOrFilterGraphPatternOperationPattern, caseAGroupGraphPattern, caseAGroupOrUnionGraphPattern, caseAGroupOrUnionGraphPatternGraphPatternNotTriples, caseAGteMoreNumericExpression, caseAGtMoreNumericExpression, caseAIntegerUnsignedNumericLiteral, caseAIsblankBuiltincall, caseAIsiriBuiltincall, caseAIsliteralBuiltincall, caseAIsuriBuiltincall, caseALangLiteralRdfLiteral, caseALiteralObjectTripleElement, caseALteMoreNumericExpression, caseALtMoreNumericExpression, caseAMoreConditionalAndExpression, caseAMoreTriples, caseAMoreValueLogical, caseAMultiplicativeExpression, caseANamedSourceSelectorDatasetClause, caseANegativeNumericLiteralNumericLiteral, caseANeMoreNumericExpression, caseANumericExpression, caseANumericLiteralLiteral, caseANumericLiteralPrimaryExpression, caseAOptionalGraphPattern, caseAOptionalGraphPatternGraphPatternNotTriples, caseAPositiveNumericLiteralNumericLiteral, caseAPrefixdeclProlog, caseAPrefixPrefixdecl, caseAPrimaryExpressionUnaryExpression, caseAQnameDatatypeDatatype, caseAQnameObjectTripleElement, caseAQnameQnameElement, caseAQnameResourceTripleElement, caseAQuotedEscapedQuotedStrand, caseAQuotedLiteralLiteralValue, caseAQuotedUnescapedQuotedStrand, caseARdfLiteralLiteral, caseARelationalExpression, caseAResourceDatatypeDatatype, caseAResourceObjectTripleElement, caseAResourceOrQnamePrimaryExpression, caseAResourceResourceTripleElement, caseASelectQueryStart, caseASourceSelector, caseATriple, caseATypedLiteralRdfLiteral, caseAUnionGraphPattern, caseAUnsignedNumericLiteralNumericLiteral, caseAUntypedLiteralRdfLiteral, caseAValueLogical, caseAVariableListSelectClause, caseAVariableObjectTripleElement, caseAVariablePrimaryExpression, caseAVariableResourceTripleElement, caseAWhereClause, caseAWildcardSelectClause, caseStart, defaultIn, defaultOut, inAAdditiveExpression, inAAskClause, inAAskQueryStart, inABlockOfTriples, inABlockOfTriplesFilteredBasicGraphPattern, inABooleanLiteralLiteral, inABooleanLiteralPrimaryExpression, inABooleanNotUnaryExpression, inABoundBuiltincall, inABracketedExpression, inABracketedExpressionConstraint, inABracketedExpressionPrimaryExpression, inABracketedVar, inABuiltincallConstraint, inABuiltincallPrimaryExpression, inAConditionalAndExpression, inAConditionalOrExpression, inADatatypeBuiltincall, inADbQuotedEscapedDbQuotedStrand, inADbQuotedLiteralLiteralValue, inADbQuotedUnescapedDbQuotedStrand, inADecimalUnsignedNumericLiteral, inADefaultSourceSelectorDatasetClause, inADoubleUnsignedNumericLiteral, inAEMoreNumericExpression, inAFalseBooleanLiteral, inAFilteredBasicGraphPatternGraphPattern, inAFilterPattern, inAFilterPatternGraphPatternOrFilter, inAGraphPatternNotTriplesGraphPatternOrFilter, inAGraphPatternOrFilterGraphPatternOperationPattern, inAGroupGraphPattern, inAGroupOrUnionGraphPattern, inAGroupOrUnionGraphPatternGraphPatternNotTriples, inAGteMoreNumericExpression, inAGtMoreNumericExpression, inAIntegerUnsignedNumericLiteral, inAIriRefIriRefOrPrefixedName, inAIsblankBuiltincall, inAIsiriBuiltincall, inAIsliteralBuiltincall, inAIsuriBuiltincall, inALangBuiltincall, inALangLiteralRdfLiteral, inALiteralObjectTripleElement, inALteMoreNumericExpression, inALtMoreNumericExpression, inAMoreConditionalAndExpression, inAMoreTriples, inAMoreValueLogical, inAMultiplicativeExpression, inANamedSourceSelectorDatasetClause, inANegativeNumericLiteralNumericLiteral, inANeMoreNumericExpression, inANumericExpression, inANumericLiteralLiteral, inANumericLiteralPrimaryExpression, inAOptionalGraphPattern, inAOptionalGraphPatternGraphPatternNotTriples, inAPositiveNumericLiteralNumericLiteral, inAPrefixdeclProlog, inAPrefixedNameIriRefOrPrefixedName, inAPrefixPrefixdecl, inAPrimaryExpressionUnaryExpression, inAQnameDatatypeDatatype, inAQnameObjectTripleElement, inAQnameQnameElement, inAQnameResourceTripleElement, inAQuotedEscapedQuotedStrand, inAQuotedLiteralLiteralValue, inAQuotedUnescapedQuotedStrand, inARdfLiteralLiteral, inARdfLiteralPrimaryExpression, inARelationalExpression, inAResourceDatatypeDatatype, inAResourceObjectTripleElement, inAResourceOrQnamePrimaryExpression, inAResourceResourceTripleElement, inASelectQueryStart, inASourceSelector, inAStrBuiltincall, inATriple, inATrueBooleanLiteral, inATypedLiteralRdfLiteral, inAUnionGraphPattern, inAUnsignedNumericLiteralNumericLiteral, inAUntypedLiteralRdfLiteral, inAValueLogical, inAVariable, inAVariableListSelectClause, inAVariableObjectTripleElement, inAVariablePrimaryExpression, inAVariableResourceTripleElement, inAWhereClause, inAWildcardSelectClause, inStart, outAAdditiveExpression, outAAskClause, outAAskQueryStart, outABlockOfTriples, outABlockOfTriplesFilteredBasicGraphPattern, outABooleanLiteralLiteral, outABooleanLiteralPrimaryExpression, outABooleanNotUnaryExpression, outABoundBuiltincall, outABracketedExpression, outABracketedExpressionConstraint, outABracketedExpressionPrimaryExpression, outABracketedVar, outABuiltincallConstraint, outABuiltincallPrimaryExpression, outAConditionalAndExpression, outAConditionalOrExpression, outADatatypeBuiltincall, outADbQuotedEscapedDbQuotedStrand, outADbQuotedLiteralLiteralValue, outADbQuotedUnescapedDbQuotedStrand, outADecimalUnsignedNumericLiteral, outADefaultSourceSelectorDatasetClause, outADoubleUnsignedNumericLiteral, outAEMoreNumericExpression, outAFalseBooleanLiteral, outAFilteredBasicGraphPatternGraphPattern, outAFilterPattern, outAFilterPatternGraphPatternOrFilter, outAGraphPatternNotTriplesGraphPatternOrFilter, outAGraphPatternOrFilterGraphPatternOperationPattern, outAGroupGraphPattern, outAGroupOrUnionGraphPattern, outAGroupOrUnionGraphPatternGraphPatternNotTriples, outAGteMoreNumericExpression, outAGtMoreNumericExpression, outAIntegerUnsignedNumericLiteral, outAIriRefIriRefOrPrefixedName, outAIsblankBuiltincall, outAIsiriBuiltincall, outAIsliteralBuiltincall, outAIsuriBuiltincall, outALangBuiltincall, outALangLiteralRdfLiteral, outALiteralObjectTripleElement, outALteMoreNumericExpression, outALtMoreNumericExpression, outAMoreConditionalAndExpression, outAMoreTriples, outAMoreValueLogical, outAMultiplicativeExpression, outANamedSourceSelectorDatasetClause, outANegativeNumericLiteralNumericLiteral, outANeMoreNumericExpression, outANumericExpression, outANumericLiteralLiteral, outANumericLiteralPrimaryExpression, outAOptionalGraphPattern, outAOptionalGraphPatternGraphPatternNotTriples, outAPositiveNumericLiteralNumericLiteral, outAPrefixdeclProlog, outAPrefixedNameIriRefOrPrefixedName, outAPrefixPrefixdecl, outAPrimaryExpressionUnaryExpression, outAQnameDatatypeDatatype, outAQnameObjectTripleElement, outAQnameQnameElement, outAQnameResourceTripleElement, outAQuotedEscapedQuotedStrand, outAQuotedLiteralLiteralValue, outAQuotedUnescapedQuotedStrand, outARdfLiteralLiteral, outARdfLiteralPrimaryExpression, outARelationalExpression, outAResourceDatatypeDatatype, outAResourceObjectTripleElement, outAResourceOrQnamePrimaryExpression, outAResourceResourceTripleElement, outASelectQueryStart, outASourceSelector, outAStrBuiltincall, outATriple, outATrueBooleanLiteral, outATypedLiteralRdfLiteral, outAUnionGraphPattern, outAUnsignedNumericLiteralNumericLiteral, outAUntypedLiteralRdfLiteral, outAValueLogical, outAVariable, outAVariableListSelectClause, outAVariableObjectTripleElement, outAVariablePrimaryExpression, outAVariableResourceTripleElement, outAWhereClause, outAWildcardSelectClause, outStart
 
Methods inherited from class org.jrdf.sparql.parser.analysis.AnalysisAdapter
caseEOF, caseTAsk, caseTAsterisk, caseTAt, caseTBang, caseTBlank, caseTBoundCall, caseTColon, caseTComment, caseTDatatypeCall, caseTDatatypeprefix, caseTDbqescape, caseTDbqescapedtext, caseTDbqtext, caseTDbquote, caseTDecimal, caseTDescribe, caseTDouble, caseTDoubleamp, caseTDoublepipe, caseTEndcomment, caseTEquals, caseTFalseLiteral, caseTFilter, caseTFrom, caseTGt, caseTGte, caseTHash, caseTIdentifier, caseTInteger, caseTIsBlankCall, caseTIsIriCall, caseTIsLiteralCall, caseTIsUriCall, caseTLangCall, caseTLangtag, caseTLbracket, caseTLpar, caseTLt, caseTLte, caseTMinus, caseTNamed, caseTNequals, caseTOptional, caseTPeriod, caseTPlus, caseTPrefix, caseTQescape, caseTQescapedtext, caseTQtext, caseTQuote, caseTRbracket, caseTResource, caseTRpar, caseTSelect, caseTStrCall, caseTTerminator, caseTTrueLiteral, caseTUnion, caseTVariablename, caseTVariableprefix, caseTWhere, defaultCase, getIn, getOut, setIn, setOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericExpressionAnalyserImpl

public NumericExpressionAnalyserImpl(LiteralBuilder newLiteralBuilder,
                                     VariableCollector newCollector,
                                     URIReferenceBuilder newUriBuilder)
Method Detail

getExpression

public Expression getExpression()
                         throws ParserException
Specified by:
getExpression in interface NumericExpressionAnalyser
Throws:
ParserException

caseABoundBuiltincall

public void caseABoundBuiltincall(ABoundBuiltincall node)
Specified by:
caseABoundBuiltincall in interface Analysis
Overrides:
caseABoundBuiltincall in class DepthFirstAdapter

caseALangBuiltincall

public void caseALangBuiltincall(ALangBuiltincall node)
Specified by:
caseALangBuiltincall in interface Analysis
Overrides:
caseALangBuiltincall in class DepthFirstAdapter

caseAStrBuiltincall

public void caseAStrBuiltincall(AStrBuiltincall node)
Specified by:
caseAStrBuiltincall in interface Analysis
Overrides:
caseAStrBuiltincall in class DepthFirstAdapter

caseARdfLiteralPrimaryExpression

public void caseARdfLiteralPrimaryExpression(ARdfLiteralPrimaryExpression node)
Specified by:
caseARdfLiteralPrimaryExpression in interface Analysis
Overrides:
caseARdfLiteralPrimaryExpression in class DepthFirstAdapter

caseAVariable

public void caseAVariable(AVariable node)
Specified by:
caseAVariable in interface Analysis
Overrides:
caseAVariable in class DepthFirstAdapter

caseAIriRefIriRefOrPrefixedName

public void caseAIriRefIriRefOrPrefixedName(AIriRefIriRefOrPrefixedName node)
Specified by:
caseAIriRefIriRefOrPrefixedName in interface Analysis
Overrides:
caseAIriRefIriRefOrPrefixedName in class DepthFirstAdapter

caseAPrefixedNameIriRefOrPrefixedName

public void caseAPrefixedNameIriRefOrPrefixedName(APrefixedNameIriRefOrPrefixedName node)
Specified by:
caseAPrefixedNameIriRefOrPrefixedName in interface Analysis
Overrides:
caseAPrefixedNameIriRefOrPrefixedName in class DepthFirstAdapter

caseATrueBooleanLiteral

public void caseATrueBooleanLiteral(ATrueBooleanLiteral node)
Specified by:
caseATrueBooleanLiteral in interface Analysis
Overrides:
caseATrueBooleanLiteral in class DepthFirstAdapter

caseAFalseBooleanLiteral

public void caseAFalseBooleanLiteral(AFalseBooleanLiteral node)
Specified by:
caseAFalseBooleanLiteral in interface Analysis
Overrides:
caseAFalseBooleanLiteral in class DepthFirstAdapter