Class: Rgviz::Token

Inherits:
Object
  • Object
show all
Defined in:
lib/rgviz/token.rb

Constant Summary collapse

And =
:and
Asc =
:asc
Avg =
:avg
By =
:by
Concat =
:concat
Contains =
:contains
Count =
:count
Desc =
:desc
Date =
:date
DateDiff =
:dateDiff
DateTime =
:datetime
Day =
:day
DayOfWeek =
:dayOfWeek
Ends =
:ends
False =
:false
Floor =
:floor
Format =
:format
Group =
:group
Hour =
:hour
Is =
:is
Label =
:label
Like =
:like
Limit =
:limit
Lower =
:lower
Matches =
:matches
Millisecond =
:millisecond
Min =
:min
Minute =
:minute
Max =
:max
Month =
:month
Not =
:not
Now =
:now
NoFormat =
:no_format
NoValues =
:no_values
Null =
:null
Offset =
:offset
Options =
:options
Or =
:or
Order =
:order
Pivot =
:pivot
Quarter =
:quarter
Round =
:round
Second =
:second
Select =
:select
Starts =
:starts
Sum =
:sum
TimeOfDay =
:timeOfDay
Timestamp =
:timestamp
ToDate =
:toDate
True =
:true
Upper =
:upper
Where =
:where
With =
:with
Year =
:year
ID =
:ID
INTEGER =
:INTEGER
DECIMAL =
:DECIMAL
STRING =
:STRING
PLUS =
:'+'
MINUS =
:'-'
STAR =
:'*'
SLASH =
:'/'
COMMA =
:','
LPAREN =
:'('
RPAREN =
:')'
EQ =
:'='
LT =
:'<'
LTE =
:'<='
GT =
:'>'
GTE =
:'>='
NEQ =
:'!='
EOF =
:'<EOF>'

Instance Attribute Summary collapse

Instance Attribute Details

#numberObject

Returns the value of attribute number.



84
85
86
# File 'lib/rgviz/token.rb', line 84

def number
  @number
end

#startObject

Returns the value of attribute start.



81
82
83
# File 'lib/rgviz/token.rb', line 81

def start
  @start
end

#stringObject

Returns the value of attribute string.



83
84
85
# File 'lib/rgviz/token.rb', line 83

def string
  @string
end

#valueObject

Returns the value of attribute value.



82
83
84
# File 'lib/rgviz/token.rb', line 82

def value
  @value
end