| Package | Description |
|---|---|
| cz.jirutka.rsql.parser |
| Modifier and Type | Method and Description |
|---|---|
ParseException |
RSQLParser.generateParseException()
Generate ParseException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
RSQLParser.argument()
<ARGUMENT> : (~["(",")",";",","," "])+ | ("'"(~["'"])+"'") | ("\""(~["\""] )+"\"")
|
Comparison |
RSQLParser.comparison()
<COMPARISON> : ("=="|"=lt="|"=le="|"=gt="|"=ge="|"="|"!="|"<"|"<="|">"|">=")
|
Expression |
RSQLParser.conjunction()
conjunction -> constraint ( <AND> conjunction )? |
Expression |
RSQLParser.constraint()
constraint -> <SELECTOR> <COMPARISON> <ARGUMENT>
| <LPAREN> disjunction <RPAREN> |
Expression |
RSQLParser.disjunction()
disjunction -> conjunction ( <OR> disjunction )? |
Expression |
RSQLParser.input()
input -> disjunction |
static Expression |
RSQLParser.parse(String expression)
Parse given query expression and build query tree.
|
String |
RSQLParser.selector()
<SELECTOR> : <#QNAME> ( ["/","."] <#QNAME> )*
<#QNAME> : <#IDENTIFIER> (":" <#IDENTIFIER> )?
<#IDENTIFIER> : ( ["a"-"z","A"-"Z","_","0"-"9","-"] )+
|
Copyright © 2011–2014. All rights reserved.