Class: LexerKit::DFA::RegexAST::Quantifier
- Inherits:
-
Data
- Object
- Data
- LexerKit::DFA::RegexAST::Quantifier
- Defined in:
- lib/lexer_kit/dfa/regex_ast.rb
Overview
Quantifier (*, +, ?, n,m) max = nil means unlimited
Instance Attribute Summary collapse
-
#child ⇒ Object
readonly
Returns the value of attribute child.
-
#greedy ⇒ Object
readonly
Returns the value of attribute greedy.
-
#max ⇒ Object
readonly
Returns the value of attribute max.
-
#meta ⇒ Object
readonly
Returns the value of attribute meta.
-
#min ⇒ Object
readonly
Returns the value of attribute min.
Instance Attribute Details
#child ⇒ Object (readonly)
Returns the value of attribute child
34 35 36 |
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 34 def child @child end |
#greedy ⇒ Object (readonly)
Returns the value of attribute greedy
34 35 36 |
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 34 def greedy @greedy end |
#max ⇒ Object (readonly)
Returns the value of attribute max
34 35 36 |
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 34 def max @max end |
#meta ⇒ Object (readonly)
Returns the value of attribute meta
34 35 36 |
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 34 def @meta end |
#min ⇒ Object (readonly)
Returns the value of attribute min
34 35 36 |
# File 'lib/lexer_kit/dfa/regex_ast.rb', line 34 def min @min end |