class CompileAst
- CompileAst
- Reference
- Object
Defined in:
pocketlib/compile/compileast.crConstructors
Instance Method Summary
- #convert_r_nypscalarexp_2_QRScalarItem(div_scalar)
- #db : DBSchema
- #db=(db : DBSchema)
-
#ensure_resword(the_resword : String, a_res_word_rule : AbsSyntTree)
=============================
- #get_r_DQString_Lx_value(rules : AbsSyntTree)
-
#get_r_Number_Lx_value(rules : AbsSyntTree)
=============================
- #get_r_Param_Lx_value(rules : AbsSyntTree)
- #get_r_scalaroper_Lx_value(rules : AbsSyntTree)
- #get_r_SQString_Lx_value(rules : AbsSyntTree)
- #get_r_TID_value(rules : AbsSyntTree) : QR::QRLoadColnameValueOntoStack
-
#get_resword_value(rules : AbsSyntTree, rule_name : String) : String
=============================
- #go(rules : AbsSyntTree) : QR::TopInQr
-
#is_rulename(rules : AbsSyntTree, rule_name : String)
=============================
-
#is_type_AS_CID(rules : AbsSyntTree)
=============================
-
#is_type_AS_TID(rules : AbsSyntTree)
=============================
-
#is_type_comment(rules : AbsSyntTree)
=============================
-
#is_type_deletebody(rules : AbsSyntTree)
=============================
-
#is_type_from(rules : AbsSyntTree)
=============================
-
#is_type_fullcondexpr(rules : AbsSyntTree)
=============================
-
#is_type_groupby(rules : AbsSyntTree)
=============================
-
#is_type_having(rules : AbsSyntTree)
=============================
-
#is_type_Identifier_Lx(rules : AbsSyntTree)
=============================
-
#is_type_insertbody(rules : AbsSyntTree)
=============================
-
#is_type_joiner_or_setoper(rules : AbsSyntTree)
=============================
-
#is_type_limit(rules : AbsSyntTree)
=============================
-
#is_type_Number_Lx(rules : AbsSyntTree)
=============================
- #is_type_nyprojectitem(rules : AbsSyntTree)
-
#is_type_nypscalarexp(rules : AbsSyntTree)
=============================
-
#is_type_onrule(rules : AbsSyntTree)
=============================
-
#is_type_orderby(rules : AbsSyntTree)
=============================
-
#is_type_over(rules : AbsSyntTree)
=============================
-
#is_type_partby(rules : AbsSyntTree)
=============================
-
#is_type_project(rules : AbsSyntTree)
=============================
-
#is_type_projectbody(rules : AbsSyntTree)
=============================
-
#is_type_projselectbodyorscalarexp(rules : AbsSyntTree)
=============================
-
#is_type_scalarexp(rules : AbsSyntTree)
=============================
-
#is_type_scalarexpselectbodyorscalarexp(rules : AbsSyntTree)
=============================
-
#is_type_show(rules : AbsSyntTree)
=============================
-
#is_type_StandardFunctionEnum(rules : AbsSyntTree)
============================= =============================
-
#is_type_tablename(rules : AbsSyntTree)
=============================
-
#is_type_tbl_alias(rules : AbsSyntTree)
=============================
-
#is_type_tbl_col_alias(rules : AbsSyntTree)
=============================
-
#is_type_TID(rules : AbsSyntTree)
=============================
-
#is_type_updatebody(rules : AbsSyntTree)
=============================
-
#is_type_value_or_select(rules : AbsSyntTree)
=============================
-
#is_type_where(rules : AbsSyntTree)
def r_where(rules : AbsSyntTree) : Nil | QR::QrLoadFileFile | QR::QRLoadFileValues | QR::NotYet
-
#is_type_whererule(rules : AbsSyntTree)
=============================
-
#is_type_window(rules : AbsSyntTree)
=============================
-
#is_type_with(rules : AbsSyntTree)
=============================
-
#is_type_withplain(rules : AbsSyntTree)
=============================
-
#is_type_withrecur(rules : AbsSyntTree)
=============================
-
#must_kind_value(stpr, kind, value, msg)
=============================
- #r_AS_CID(rules : AbsSyntTree) : String
- #r_AS_TID(rules : AbsSyntTree)
- #r_column_comma_list(rules : AbsSyntTree)
- #r_compoper_Lx(rules : AbsSyntTree)
- #r_condexpr(rules : AbsSyntTree)
- #r_deletebody(rules : AbsSyntTree)
- #r_from(rules : AbsSyntTree) : QR::QFrom
- #r_fullcondexpr(rules : AbsSyntTree)
- #r_groupby(rules : AbsSyntTree)
- #r_having(rules : AbsSyntTree)
- #r_Identifier_Lx(rules : AbsSyntTree) : String
- #r_insertbody(rules : AbsSyntTree)
- #r_joiner_or_setoper(rules : AbsSyntTree)
-
#r_limit(rules : AbsSyntTree)
"LIMIT" ( Number_Lx ("OFFSET" Number_Lx) | ("," Number_Lx )? ); LIMIT {[offset,] row_count | row_count OFFSET offset}
-
#r_nyprojectitem(rules : AbsSyntTree) : QR::QRProjectItem
nyQRProjectItem : ( "(" projselectbodyorscalarexp ")" ) | simpleQRProjectItem
- #r_nypscalarexp(rules : AbsSyntTree)
- #r_onrule(rules : AbsSyntTree)
- #r_orderby(rules : AbsSyntTree)
- #r_over(rules : AbsSyntTree)
-
#r_partby(rules : AbsSyntTree)
"PARTITION" "BY" ( TID ),','
- #r_pcondexpr(rules : AbsSyntTree)
- #r_project(rules : AbsSyntTree)
- #r_projectbody(rules : AbsSyntTree) : QR::SubQuery
-
#r_projselectbodyorscalarexp(rules : AbsSyntTree)
projselectbodyorscalarexp: ( "SELECT" projectbody ) | scalarexp
- #r_pscalarexp(rules : AbsSyntTree)
- #r_psimplecond(rules : AbsSyntTree)
- #r_relation_body(rules : AbsSyntTree) : QR::QRLoadFileValues | QR::QRLoadFromStore | QR::SubQuery | QR::QrLoadFileFile
- #r_scalarexp(rules : AbsSyntTree) : QR::QRScalarExpr
- #r_scalarexpselectbodyorscalarexp(rules : AbsSyntTree)
- #r_scalarterm(rules : AbsSyntTree) : QR::QRLoadColnameValueOntoStack | QR::QRLoadNumberValueOntoStack | QR::QRLoadStringValueOntoStack | QR::QRProjectItem | QR::QRLoadParamNameOnStack
- #r_show(rules : AbsSyntTree)
- #r_simplecond(rules : AbsSyntTree)
- #r_simpleprojectitem(rules : AbsSyntTree) : QR::QRProjectItem
- #r_standardfunction(rules : AbsSyntTree) : QR::QRProjectItem
- #r_table_ref(rules : AbsSyntTree) : QR::QRFirstJoin | QR::QRLoadFileValues | QR::QRLoadFromStore | QR::QrLoadFileFile | QR::SubQuery
- #r_tablename(rules : AbsSyntTree) : NamedTuple(table_name: String, rule_name: String)
- #r_tbl_col_alias(rules : AbsSyntTree) : NamedTuple(table_name: String, col_names: Array(String))
- #r_updatebody(rules : AbsSyntTree)
- #r_value_list(rules : AbsSyntTree) : QR::QRLoadFileValues
- #r_value_or_select(rules : AbsSyntTree) : QR::SubQuery | QR::QRLoadFileValues
- #r_where(rules : AbsSyntTree)
- #r_whererule(rules : AbsSyntTree)
- #r_window(rules : AbsSyntTree)
- #r_with(rules : AbsSyntTree)
- #r_withplain(rules : AbsSyntTree)
- #r_withrecur(rules : AbsSyntTree)
Constructor Detail
Instance Method Detail
=============================
=============================
def r_where(rules : AbsSyntTree) : Nil | QR::QrLoadFileFile | QR::QRLoadFileValues | QR::NotYet
"LIMIT" ( Number_Lx ("OFFSET" Number_Lx) | ("," Number_Lx )? ); LIMIT {[offset,] row_count | row_count OFFSET offset}
nyQRProjectItem : ( "(" projselectbodyorscalarexp ")" ) | simpleQRProjectItem
projselectbodyorscalarexp: ( "SELECT" projectbody ) | scalarexp