Class: ApacheCrunch::FormatToken
- Inherits:
-
Object
- Object
- ApacheCrunch::FormatToken
show all
- Defined in:
- lib/format_token.rb
Overview
Abstract for a token in a log format
Instance Method Summary
collapse
Instance Method Details
#captured? ⇒ Boolean
12
|
# File 'lib/format_token.rb', line 12
def captured?; raise NotImplementedError; end
|
#derivation_rule ⇒ Object
13
|
# File 'lib/format_token.rb', line 13
def derivation_rule; raise NotImplementedError; end
|
#name ⇒ Object
10
|
# File 'lib/format_token.rb', line 10
def name; raise NotImplementedError; end
|
#populate! ⇒ Object
Performs whatever initial population is necessary for the token.
8
|
# File 'lib/format_token.rb', line 8
def populate!; raise NotImplementedError; end
|
#regex ⇒ Object
11
|
# File 'lib/format_token.rb', line 11
def regex; raise NotImplementedError; end
|