Class: Syntax::Default
- Inherits:
-
Object
- Object
- Syntax::Default
- Defined in:
- lib/syntax.rb
Overview
A default tokenizer for handling syntaxes that are not explicitly handled elsewhere. It simply yields the given text as a single token.
Instance Method Summary collapse
-
#tokenize(text) {|Token.new( text, :normal )| ... } ⇒ Object
Yield the given text as a single token.