|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DSRG.VKB.E_SQL.E_SQL
It will be generated by JavaCC There is a little change of production which is different from original grammar of E-SQL defined in paper TR-97-4
Field Summary | |
private java.util.Vector |
jj_expentries
|
private int[] |
jj_expentry
|
private int |
jj_gen
|
(package private) ASCII_CharStream |
jj_input_stream
|
private int |
jj_kind
|
private int[] |
jj_la1
|
private int[] |
jj_la1_0
|
private int[] |
jj_la1_1
|
Token |
jj_nt
|
private int |
jj_ntk
|
protected JJTE_SQLState |
jjtree
|
Token |
token
|
E_SQLTokenManager |
token_source
|
Constructor Summary | |
E_SQL(E_SQLTokenManager tm)
|
|
E_SQL(java.io.InputStream stream)
|
Method Summary | |
void |
Attr_name()
Attr_name --> name "." name "." name |
void |
Attribute_component()
Attribute_component --> Attr_name ["(" ( Dispensable ["," Replaceable] | Replaceable ) ")"] Though I can merge the second part to Evolvable_parameter. |
void |
Boolean()
Boolean --> "TRUE" | "FALSE" |
void |
Condition_component()
Condition_component --> Primitive_clause ["(" ( Dispensable ["," Replaceable] | Replaceable ) ")"] Though I can merge the second part to Evolvable_parameter. |
void |
disable_tracing()
|
void |
Dispensable()
Dispensable --> ("AD"|"RD"|"CD") "=" Boolean It should be three productions instead of this one. |
void |
enable_tracing()
|
void |
From_clause()
From_clause --> (Relation_component ("," Relation_component)*) |
ParseException |
generateParseException()
|
Token |
getNextToken()
|
Token |
getToken(int index)
|
private Token |
jj_consume_token(int kind)
|
private int |
jj_ntk()
|
void |
Literal()
Literal --> String_literal | Float_literal | Int_literal | Boolean |
void |
Operand()
Operand --> Attr_name | Literal |
void |
Operator()
Operator --> "<" | "<=" | "=" | ">=" | ">" | "!=" |
void |
Primitive_clause()
Primitive_clause --> Attr_name Operator Operand |
void |
ReInit(E_SQLTokenManager tm)
|
void |
ReInit(java.io.InputStream stream)
|
void |
Rel_name()
Rel_name --> name "." name |
void |
Relation_component()
Relation_component --> Rel_name ["(" ( Dispensable ["," Replaceable] | Replaceable ) ")"] Though I can merge the second part to Evolvable_parameter. |
void |
Replaceable()
Replaceable --> ("AR"|"RR"|"CR") "=" Boolean It should be three productions instead of this one. |
void |
Select_clause()
Select_clause --> ((Attribute_component ("," Attribute_component)*) | "*" ) |
SimpleNode |
VD_sequence()
VD_sequence --> (View_definition)* |
SimpleNode |
View_definition()
View_definition --> "CREATE" "VIEW" View_name [View_extent] "AS" "SELECT" Select_clause "FROM" From_clause ["WHERE" Where_clause] |
void |
View_extent()
View_extent = "(" "VE" "=" ("SUBSET"|"SUPERSET"|"EQUIVALENT"|"DONTCARE") ")" |
void |
View_name()
View_name --> name |
void |
Where_clause()
Where_clause --> (Condition_component ("AND" Condition_component)*) |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected JJTE_SQLState jjtree
public E_SQLTokenManager token_source
ASCII_CharStream jj_input_stream
public Token token
public Token jj_nt
private int jj_ntk
private int jj_gen
private final int[] jj_la1
private final int[] jj_la1_0
private final int[] jj_la1_1
private java.util.Vector jj_expentries
private int[] jj_expentry
private int jj_kind
Constructor Detail |
public E_SQL(java.io.InputStream stream)
public E_SQL(E_SQLTokenManager tm)
Method Detail |
public final SimpleNode VD_sequence() throws ParseException
public final SimpleNode View_definition() throws ParseException
public final void View_extent() throws ParseException
public final void Select_clause() throws ParseException
public final void From_clause() throws ParseException
public final void Where_clause() throws ParseException
public final void View_name() throws ParseException
public final void Attribute_component() throws ParseException
Though I can merge the second part to Evolvable_parameter. But, I think maybe in the future the Evolvable_parameter will be different from Attribute, Relation and Condition component, So, I just use three duplicate thing for the three kinds of component.
public final void Dispensable() throws ParseException
It should be three productions instead of this one. But, I make the change to make it more clear and easy to implements.
This is not the final goal of this production. The final goal is replace all "AD", "RD", "CD" to "CD" which means Component Dispensable.
public final void Replaceable() throws ParseException
It should be three productions instead of this one. But, I make the change to make it more clear and easy to implements.
This is not the final goal of this production. The final goal is replace all "AR", "RR", "CR" to "CR" which means Component Dispensable.
public final void Rel_name() throws ParseException
public final void Attr_name() throws ParseException
public final void Boolean() throws ParseException
public final void Relation_component() throws ParseException
Though I can merge the second part to Evolvable_parameter. But, I think maybe in the future the Evolvable_parameter will be different from Attribute, Relation and Condition component, So, I just use three duplicate thing for the three kinds of component.
public final void Condition_component() throws ParseException
Though I can merge the second part to Evolvable_parameter. But, I think maybe in the future the Evolvable_parameter will be different from Attribute, Relation and Condition component, So, I just use three duplicate thing for the three kinds of component.
public final void Primitive_clause() throws ParseException
public final void Operator() throws ParseException
public final void Operand() throws ParseException
public final void Literal() throws ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(E_SQLTokenManager tm)
private final Token jj_consume_token(int kind) throws ParseException
public final Token getNextToken()
public final Token getToken(int index)
private final int jj_ntk()
public final ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |