Class: TracePreprocessor::Lexeme
- Inherits:
-
Object
- Object
- TracePreprocessor::Lexeme
- Defined in:
- lib/trace_preprocessor/lexeme.rb
Instance Attribute Summary collapse
-
#converter ⇒ Object
Returns the value of attribute converter.
-
#name ⇒ Object
Returns the value of attribute name.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#regexp ⇒ Object
Returns the value of attribute regexp.
-
#value_kind ⇒ Object
Returns the value of attribute value_kind.
Instance Method Summary collapse
-
#initialize(name) ⇒ Lexeme
constructor
A new instance of Lexeme.
Constructor Details
#initialize(name) ⇒ Lexeme
Returns a new instance of Lexeme.
3 4 5 6 |
# File 'lib/trace_preprocessor/lexeme.rb', line 3 def initialize name @name = name @converter = {} end |
Instance Attribute Details
#converter ⇒ Object
Returns the value of attribute converter.
8 9 10 |
# File 'lib/trace_preprocessor/lexeme.rb', line 8 def converter @converter end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/trace_preprocessor/lexeme.rb', line 8 def name @name end |
#priority ⇒ Object
Returns the value of attribute priority.
8 9 10 |
# File 'lib/trace_preprocessor/lexeme.rb', line 8 def priority @priority end |
#regexp ⇒ Object
Returns the value of attribute regexp.
8 9 10 |
# File 'lib/trace_preprocessor/lexeme.rb', line 8 def regexp @regexp end |
#value_kind ⇒ Object
Returns the value of attribute value_kind.
8 9 10 |
# File 'lib/trace_preprocessor/lexeme.rb', line 8 def value_kind @value_kind end |