Class Syntax::Convertors::Abstract
In: lib/syntax/convertors/abstract.rb
Parent: Object

The abstract ancestor class for all convertors. It implements a few convenience methods to provide a common interface for all convertors.

Methods

for_syntax   new  

Attributes

tokenizer  [R]  A reference to the tokenizer used by this convertor.

Public Class methods

A convenience method for instantiating a new convertor for a specific syntax.

Creates a new convertor that uses the given tokenizer.

[Validate]