org.geotools.filter.text.generated.parsers
Class CQLParser
Object
CQLParser
- All Implemented Interfaces:
- CQLParserConstants, CQLParserTreeConstants
- Direct Known Subclasses:
- CQLCompiler
public class CQLParser
- extends Object
- implements CQLParserTreeConstants, CQLParserConstants
CQLParser is the result of a javacc jjtree grammar.
- Since:
- 2.5
- Author:
- Ian Schneider, Mauricio Pazos - Axios Engineering
Fields inherited from interface CQLParserTreeConstants |
JJTADDNODE, JJTBETWEEN_NODE, JJTBOOLEAN_AND_NODE, JJTBOOLEAN_NOT_NODE, JJTBOOLEAN_OR_NODE, JJTCOMPARISSONPREDICATE_EQ_NODE, JJTCOMPARISSONPREDICATE_GT_NODE, JJTCOMPARISSONPREDICATE_GTE_NODE, JJTCOMPARISSONPREDICATE_LT_NODE, JJTCOMPARISSONPREDICATE_LTE_NODE, JJTCOMPARISSONPREDICATE_NOT_EQUAL_NODE, JJTCOMPOUND_ATTRIBUTE_NODE, JJTDATETIME_NODE, JJTDISTANCEUNITS_NODE, JJTDIVNODE, JJTDURATION_DATE_NODE, JJTENVELOPETAGGEDTEXT_NODE, JJTEXCLUDE_NODE, JJTEXISTENCE_PREDICATE_DOESNOTEXIST_NODE, JJTEXISTENCE_PREDICATE_EXISTS_NODE, JJTFALSENODE, JJTFLOATINGNODE, JJTFUNCTION_NODE, JJTFUNCTIONARG_NODE, JJTFUNCTIONNAME_NODE, JJTIDENTIFIER_NODE, JJTIDENTIFIER_PART_NODE, JJTINCLUDE_NODE, JJTINTEGERNODE, JJTLIKE_NODE, JJTMULNODE, jjtNodeName, JJTNOT_BETWEEN_NODE, JJTNOT_LIKE_NODE, JJTNOTNULLPREDICATENODE, JJTNULLPREDICATENODE, JJTPERIOD_BETWEEN_DATES_NODE, JJTPERIOD_WITH_DATE_DURATION_NODE, JJTPERIOD_WITH_DURATION_DATE_NODE, JJTROUTINEINVOCATION_GEOOP_BBOX_NODE, JJTROUTINEINVOCATION_GEOOP_BBOX_SRS_NODE, JJTROUTINEINVOCATION_GEOOP_CONTAIN_NODE, JJTROUTINEINVOCATION_GEOOP_CROSS_NODE, JJTROUTINEINVOCATION_GEOOP_DISJOINT_NODE, JJTROUTINEINVOCATION_GEOOP_EQUAL_NODE, JJTROUTINEINVOCATION_GEOOP_INTERSECT_NODE, JJTROUTINEINVOCATION_GEOOP_OVERLAP_NODE, JJTROUTINEINVOCATION_GEOOP_RELATE_NODE, JJTROUTINEINVOCATION_GEOOP_TOUCH_NODE, JJTROUTINEINVOCATION_GEOOP_WITHIN_NODE, JJTROUTINEINVOCATION_RELOP_BEYOND_NODE, JJTROUTINEINVOCATION_RELOP_DWITHIN_NODE, JJTSIMPLE_ATTRIBUTE_NODE, JJTSTRINGNODE, JJTSUBTRACTNODE, JJTTOLERANCE_NODE, JJTTPAFTER_DATETIME_NODE, JJTTPBEFORE_DATETIME_NODE, JJTTPBEFORE_OR_DURING_PERIOD_NODE, JJTTPDURING_OR_AFTER_PERIOD_NODE, JJTTPDURING_PERIOD_NODE, JJTTRUENODE, JJTVOID, JJTWKTNODE |
Fields inherited from interface CQLParserConstants |
AFTER, AND, BBOX, BEFORE, BETWEEN, BEYOND, COLON, COMMA, CONTAINS, CROSS, DATE_TIME, DEFAULT, DIGIT, DISJOINT, DOES_NOT_EXIST, DUR_DATE, DUR_DAY, DUR_HOUR, DUR_MINUTE, DUR_MONTH, DUR_SECOND, DUR_TIME, DUR_YEAR, DURATION, DURING, DWITHIN, ENVELOPE, EOF, EQ, EQUAL, EXCLUDE, EXISTS, EXPONENT, FALSE, FEET, FLOATING_LITERAL, FULL_DATE, GEOMETRYCOLLECTION, GT, GTE, IDENTIFIER, INCLUDE, INTEGER_LITERAL, INTERSECT, IS, KILOMETERS, LETTER, LIKE, LINESTRING, LP, LSP, LT, LTE, METERS, MINUS, MULT, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, NAUTICAL_MILES, NEQ, NOT, NULL, OR, OVERLAP, PERIOD, PLUS, POINT, POLYGON, RELATE, RP, RSP, SENTENCE_SEPARATOR, SLASH, STATUTE_MILES, STRING_LITERAL, tokenImage, TOUCH, TRUE, UNKNOWN, UTC, UTC_TIME, WITHIN |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected JJTCQLParserState jjtree
GEOOP
protected static final Set GEOOP
RELGEOOP
protected static final Set RELGEOOP
token_source
public CQLParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
CQLParser
public CQLParser(InputStream stream)
CQLParser
public CQLParser(InputStream stream,
String encoding)
CQLParser
public CQLParser(Reader stream)
CQLParser
public CQLParser(CQLParserTokenManager tm)
jjtreeOpenNodeScope
public void jjtreeOpenNodeScope(Node n)
throws ParseException
- Throws:
ParseException
jjtreeCloseNodeScope
public void jjtreeCloseNodeScope(Node n)
throws ParseException
- Throws:
ParseException
isGeoOp
protected boolean isGeoOp()
isRelGeoOp
protected boolean isRelGeoOp()
FilterCompilationUnit
public final Node FilterCompilationUnit()
throws ParseException
- Throws:
ParseException
ExpressionCompilationUnit
public final Node ExpressionCompilationUnit()
throws ParseException
- Throws:
ParseException
FilterListCompilationUnit
public final Node FilterListCompilationUnit()
throws ParseException
- Throws:
ParseException
SearchCondition
public final void SearchCondition()
throws ParseException
- Throws:
ParseException
SequenceOfSearchConditions
public final void SequenceOfSearchConditions()
throws ParseException
- Throws:
ParseException
BooleanValueExpression
public final void BooleanValueExpression()
throws ParseException
- Throws:
ParseException
BooleanTerm
public final void BooleanTerm()
throws ParseException
- Throws:
ParseException
BooleanFactor
public final void BooleanFactor()
throws ParseException
- Throws:
ParseException
BooleanPrimary
public final void BooleanPrimary()
throws ParseException
- Throws:
ParseException
Predicate
public final void Predicate()
throws ParseException
- Throws:
ParseException
RoutineInvocation
public final void RoutineInvocation()
throws ParseException
- Throws:
ParseException
RoutineInvocationGeoOp
public final void RoutineInvocationGeoOp()
throws ParseException
- Throws:
ParseException
GeoRoutineArgumentList
public final void GeoRoutineArgumentList()
throws ParseException
- Throws:
ParseException
BBoxArgumentList
public final void BBoxArgumentList()
throws ParseException
- Throws:
ParseException
RoutineInvocationRelGeoOp
public final void RoutineInvocationRelGeoOp()
throws ParseException
- Throws:
ParseException
RelGeoRoutineArgumentList
public final void RelGeoRoutineArgumentList()
throws ParseException
- Throws:
ParseException
Tolerance
public final void Tolerance()
throws ParseException
- Throws:
ParseException
UnsignedNumericLiteral
public final void UnsignedNumericLiteral()
throws ParseException
- Throws:
ParseException
DistanceUnits
public final void DistanceUnits()
throws ParseException
- ::=
'feet' | 'meters' | 'statute miles' |
'nautical miles' | 'kilometers'
TODO this set of units is just an example. The real list of distance unit must be developed
- Throws:
ParseException
GeometryLiteral
public final void GeometryLiteral()
throws ParseException
- Throws:
ParseException
RoutineInvocationGeneric
public final void RoutineInvocationGeneric()
throws ParseException
- Throws:
ParseException
IncludeExcludePredicate
public final void IncludeExcludePredicate()
throws ParseException
- Throws:
ParseException
ComparissonPredicate
public final void ComparissonPredicate()
throws ParseException
- Throws:
ParseException
NullPredicate
public final void NullPredicate()
throws ParseException
- Throws:
ParseException
TemporalPredicate
public final void TemporalPredicate()
throws ParseException
- Throws:
ParseException
TemporalPredicateBefore
public final void TemporalPredicateBefore()
throws ParseException
- Throws:
ParseException
TemporalPredicateAfter
public final void TemporalPredicateAfter()
throws ParseException
- Throws:
ParseException
TemporalPredicateDuring
public final void TemporalPredicateDuring()
throws ParseException
- Throws:
ParseException
DateTimeExpression
public final void DateTimeExpression()
throws ParseException
- Throws:
ParseException
Period
public final void Period()
throws ParseException
- Throws:
ParseException
PeriodTail
public final void PeriodTail()
throws ParseException
- Throws:
ParseException
DateTime
public final void DateTime()
throws ParseException
- Throws:
ParseException
Duration
public final void Duration()
throws ParseException
- Throws:
ParseException
ExistencePredicate
public final void ExistencePredicate()
throws ParseException
- Throws:
ParseException
TextPredicate
public final void TextPredicate()
throws ParseException
- Throws:
ParseException
CharacterPattern
public final void CharacterPattern()
throws ParseException
- Throws:
ParseException
BetweenPredicate
public final void BetweenPredicate()
throws ParseException
- Throws:
ParseException
Expression
public final void Expression()
throws ParseException
- Throws:
ParseException
BinaryExpression
public final void BinaryExpression()
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final void MultiplicativeExpression()
throws ParseException
- Throws:
ParseException
UnaryExpression
public final void UnaryExpression()
throws ParseException
- Throws:
ParseException
Evaluate
public final void Evaluate()
throws ParseException
- Throws:
ParseException
Identifier
public final void Identifier()
throws ParseException
- Throws:
ParseException
IdentifierPart
public final void IdentifierPart()
throws ParseException
- Throws:
ParseException
Attribute
public final void Attribute()
throws ParseException
- Throws:
ParseException
SimpleAttributeName
public final void SimpleAttributeName()
throws ParseException
- Throws:
ParseException
AttributeTail
public final void AttributeTail()
throws ParseException
- Throws:
ParseException
Literal
public final void Literal()
throws ParseException
- Throws:
ParseException
SignedNumericLiteral
public final void SignedNumericLiteral()
throws ParseException
- Throws:
ParseException
GeneralLiteral
public final void GeneralLiteral()
throws ParseException
- Throws:
ParseException
IntegerLiteral
public final void IntegerLiteral()
throws ParseException
- Throws:
ParseException
FloatingLiteral
public final void FloatingLiteral()
throws ParseException
- Throws:
ParseException
BooleanLiteral
public final void BooleanLiteral()
throws ParseException
- Throws:
ParseException
StringLiteral
public final void StringLiteral()
throws ParseException
- Throws:
ParseException
Function
public final void Function()
throws ParseException
- Throws:
ParseException
FunctionArg
public final void FunctionArg()
throws ParseException
- Throws:
ParseException
Point
public final void Point()
throws ParseException
- Throws:
ParseException
LineStringText
public final void LineStringText()
throws ParseException
- Throws:
ParseException
PointTaggedText
public final void PointTaggedText()
throws ParseException
- Throws:
ParseException
PointText
public final void PointText()
throws ParseException
- Throws:
ParseException
LineStringTaggedText
public final void LineStringTaggedText()
throws ParseException
- Throws:
ParseException
PolygonTaggedText
public final void PolygonTaggedText()
throws ParseException
- Throws:
ParseException
PolygonText
public final void PolygonText()
throws ParseException
- Throws:
ParseException
MultiPointTaggedText
public final void MultiPointTaggedText()
throws ParseException
- Throws:
ParseException
MultiPointText
public final void MultiPointText()
throws ParseException
- Throws:
ParseException
MultiLineStringTaggedText
public final void MultiLineStringTaggedText()
throws ParseException
- Throws:
ParseException
MultiLineStringText
public final void MultiLineStringText()
throws ParseException
- Throws:
ParseException
MultiPolygonTaggedText
public final void MultiPolygonTaggedText()
throws ParseException
- Throws:
ParseException
MultiPolygonText
public final void MultiPolygonText()
throws ParseException
- Throws:
ParseException
GeometryCollectionTaggedText
public final void GeometryCollectionTaggedText()
throws ParseException
- Throws:
ParseException
GeometryCollectionText
public final void GeometryCollectionText()
throws ParseException
- Throws:
ParseException
EnvelopeTaggedText
public final void EnvelopeTaggedText()
throws ParseException
- Throws:
ParseException
EnvelopText
public final void EnvelopText()
throws ParseException
- Throws:
ParseException
NumericLiteral
public final void NumericLiteral()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(CQLParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 1996-2009 Geotools. All Rights Reserved.