Sha256: 2d838c63e801a7305c88442683584e1d363cdac4fd8374b014038eee601dccba
Contents?: true
Size: 501 Bytes
Versions: 3
Compression:
Stored size: 501 Bytes
Contents
module FilterLexer # A filter is the core object of the lexer: an indentifier, an relational operator and data class Filter < Treetop::Runtime::SyntaxNode # The identifier element # # Of type FilterLexer::Identifier def identifier return elements[0] end # The operator element # # Subclass of FilterLexer::RelationalOperator def operator return elements[1] end # The data element # # Subclass of FilterLexer::Literal def data return elements[2] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
filter_lexer-0.2.2 | lib/filter_lexer/nodes/filter.rb |
filter_lexer-0.2.1 | lib/filter_lexer/nodes/filter.rb |
filter_lexer-0.2.0 | lib/filter_lexer/nodes/filter.rb |