Module: ActiveFacts::CQL::LexicalRules::StringRange2
- Defined in:
- lib/activefacts/cql/parser/LexicalRules.rb
Instance Method Summary collapse
-
#value ⇒ Object
Ranges require the original text of the string, not the content:.
Instance Method Details
#value ⇒ Object
Ranges require the original text of the string, not the content:
263 264 265 266 267 268 269 270 271 |
# File 'lib/activefacts/cql/parser/LexicalRules.rb', line 263 def value first = string.text_value if !tail.empty? last = tail.end.text_value unless tail.end.empty? [ first, last ] else first end end |