Module: Rhetor

Defined in:
lib/rhetor.rb,
lib/rhetor/token.rb,
lib/rhetor/version.rb,
lib/rhetor/exceptions.rb,
lib/rhetor/lexical_analyser.rb

Overview

The primary module of the gem

Defined Under Namespace

Classes: LexicalAnalyser, Token

Constant Summary collapse

EOF_TOKEN =
Token.new(nil, nil, -1, nil)
VERSION =
'0.2.0'
RhetorError =
Class.new(StandardError)
UnmatchedString =
Class.new(RhetorError)
InvalidRuleName =
Class.new(RhetorError)
RuleAlreadyExists =
Class.new(RhetorError)
InvalidPattern =
Class.new(RhetorError)
InvalidString =
Class.new(RhetorError)
NoStringLoaded =
Class.new(RhetorError)