Package laser.regularlanguage.regularexpression

Contains classes and interfaces for creating and manipulating regular expressions (REs).

See:
          Description

Interface Summary
REConstants The REConstants interface enumerates the RE operators.
REFactory<L extends LabelInterface> The REFactory interface allows the user to create new REs.
REVisitor<L extends LabelInterface> The REVisitor class implements the visitor pattern.
 

Class Summary
AbstractREVisitor<L extends LabelInterface> The AbstractREVisitor class implements the visitor pattern.
BinaryTreeNode<L extends LabelInterface> The BinaryTreeNode class represents a TreeNode with two children.
ChoiceNode<L extends LabelInterface> ChoiceNode represents a choice between two regular expressions, meaning either the first or second expression occurs.
ClassSetNode<L extends LabelInterface> ClassSetNode is a leaf node in the Regular Expression Parse Tree representing a set of labels, meaning a choice between any label in the set.
ConcatenationNode<L extends LabelInterface> ConcatenationNode represents the Concatenation of two regular expressions, meaning the first expression occurs then the second expression occurs.
DefaultREFactory<L extends LabelInterface> The DefaultREFactory class allows the user to create new REs.
DotNode<L extends LabelInterface> DotNode is a leaf node in the Regular Expression representing a wildcard, meaning a choice among any label.
EmptyNode<L extends LabelInterface> EmptyNode represents the empty language.
EpsilonNode<L extends LabelInterface> LabelNode is a leaf node in the Regular Expression representing an event.
Exponent The exponent of an Exponent node in the Regular Expression Parse Tree.
ExponentNode<L extends LabelInterface> ExponentNode represents an Exponent (^) in the regular expression.
KleenePlusNode<L extends LabelInterface> KleenePlusNode represents a Kleene Plus (+) in the regular expression, meaning the expression occurs one or more times.
KleeneStarNode<L extends LabelInterface> KleeneStarNode represents a Kleene Star (*) in the regular expression, meaning the expression occurs zero or more times.
LabelNode<L extends LabelInterface> LabelNode is a leaf node in the Regular Expression representing an event.
NotClassSetNode<L extends LabelInterface> NotClassSetNode is a node in the Regular Expression representing the negation of a set of labels, meaning a choice between any label not in the set.
OptionNode<L extends LabelInterface> OptionNode represents an Option (?) in the regular expression parse tree, meaning the expression can occur 0 or 1 times.
RE<L extends LabelInterface> An RE represents a regular expresssion (RE).
StringREFactory The StringREFactory class allows the user to create new REs that use StringLabels.
TreeNode<L extends LabelInterface> TreeNode is an abstract class that all classes used in building a Regular Expression inherit from.
UnaryTreeNode<L extends LabelInterface> The UnaryTreeNode class represents a TreeNode with a single child.
 

Exception Summary
REException The REException class signals when a Regular Expression is malformed.
REVisitorException The REVisitorException class signals when a REVisitor encounters an error.
 

Package laser.regularlanguage.regularexpression Description

Contains classes and interfaces for creating and manipulating regular expressions (REs).

See the RE for the formal definition of a regular expression (RE) and for how an RE may be manipulated.

The REFactory is used to create new REs.

The RE is used to read (write) an existing RE to (from) a file.

The REVisitor implements the visitor pattern for REs. The AbstractREVisitor provides a default implementation.