This is a simple demo app for the Query and Report DSLs. Just enter a query and/or report definition, and hit "Go!" to get the report parsed and see a CFDUMP of the generated data structure.

Query:
Report:
q
Struct
LEFT
Struct
FIELD
stringtype
NEGATED
booleanfalse
TYPE
stringsimple
VALUE
stringcat
RIGHT
Struct
LEFT
Struct
FIELD
stringname
NEGATED
booleanfalse
TYPE
stringsimple
VALUE
stringlucifer
RIGHT
Struct
LEFT
Struct
FIELD
stringlocation
NEGATED
booleantrue
TYPE
stringsimple
VALUE
stringlitter box
RIGHT
Struct
LEFT
Struct
FIELD
stringaction
NEGATED
booleanfalse
TYPE
stringsimple
VALUE
stringpoop
RIGHT
Struct
FIELD
stringaction
NEGATED
booleanfalse
TYPE
stringsimple
VALUE
stringpee
TYPE
stringor
TYPE
stringand
TYPE
stringand
TYPE
stringand
q.right.right.left.field = location
q.right.left.value = lucifer
q.right.left.negated = false
q.left.left.field = unknown
report
Struct
aggregates
Array
1
Struct
CRITERION
Component (orcriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/orcriterion.cfc
arguments
labelnamerequiredtypedefaulthint
lefttruecriterionnull
righttruecriterionnull
return typecriterion
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/orcriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
LEFT
Component (simplecriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
fieldtruestringnull
valuetrueanynull
negatedfalsebooleanfalse
return typecriterion
NEGATED
booleanfalse
FIELD
stringowner
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
VALUE
stringanastasia
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/orcriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
RIGHT
Component (simplecriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
fieldtruestringnull
valuetrueanynull
negatedfalsebooleanfalse
return typecriterion
NEGATED
booleanfalse
FIELD
stringowner
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
VALUE
stringdrizella
QUERY
stringowner:anastasia OR owner:drizella
VALUE
stringStep-Sisters
conditions
Array
1
Struct
CRITERION
Component (simplecriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
fieldtruestringnull
valuetrueanynull
negatedfalsebooleanfalse
return typecriterion
NEGATED
booleanfalse
FIELD
stringowner
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
VALUE
stringcinderella
QUERY
stringowner:cinderella
VALUE
stringCinderella
2
Struct
CRITERION
Component (simplecriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
fieldtruestringnull
valuetrueanynull
negatedfalsebooleanfalse
return typecriterion
NEGATED
booleanfalse
FIELD
stringowner
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
VALUE
stringanastasia
QUERY
stringowner:anastasia
VALUE
stringAnastasia
3
Struct
CRITERION
Component (simplecriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
fieldtruestringnull
valuetrueanynull
negatedfalsebooleanfalse
return typecriterion
NEGATED
booleanfalse
FIELD
stringowner
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
VALUE
stringdrizella
QUERY
stringowner:drizella
VALUE
stringDrizella
coreCriterion
Component (simplecriterion)
Only the functions and data members that are accessible from your location are displayed
public
INIT
Public Function init
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
fieldtruestringnull
valuetrueanynull
negatedfalsebooleanfalse
return typecriterion
NEGATED
booleanfalse
FIELD
stringtype
CONVERTTOSTRUCT
Public Function convertToStruct
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestruct
CONVERTTOSTRING
Public Function convertToString
source:/vol/www/barneyb.com/dsls/simplecriterion.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
VALUE
stringchore
coreQuery
stringtype:chore