Class: TracePreprocessor::Lexeme

Inherits:
Object
  • Object
show all
Defined in:
lib/trace_preprocessor/lexeme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#converterObject

Returns the value of attribute converter.



8
9
10
# File 'lib/trace_preprocessor/lexeme.rb', line 8

def converter
  @converter
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/trace_preprocessor/lexeme.rb', line 8

def name
  @name
end

#priorityObject

Returns the value of attribute priority.



8
9
10
# File 'lib/trace_preprocessor/lexeme.rb', line 8

def priority
  @priority
end

#regexpObject

Returns the value of attribute regexp.



8
9
10
# File 'lib/trace_preprocessor/lexeme.rb', line 8

def regexp
  @regexp
end

#value_kindObject

Returns the value of attribute value_kind.



8
9
10
# File 'lib/trace_preprocessor/lexeme.rb', line 8

def value_kind
  @value_kind
end