Text

Text is a huge part of any programming language. A lot of data stored as text. But text need to be parsed to use it. And data needs to be formatted to treat it as text. This package provides abstracts for how the parsing and formatting process should be performed.


Classifier
GitHub Javadoc


An abstract of how classifiers should be. The class is based on tokens concept. Each classifying operation should have a token that have all the variables of that operations.



Parser
GitHub Javadoc


An abstract of how parsers should be. The class is based on tokens concept. Each parsing operation should have a token that have all the variables of that operation.



Formatter
GitHub Javadoc


An abstraction of how formatters should be. The class is based on tokens concept. Each formatting operation should have a token that have all the variables of that operation.



Format
GitHub Javadoc


Is a class that is a classifier, parser, and a formatter at the same time. A text language could be represented by a one class.



AbstractFormat
GitHub Javadoc


An abstract that manages and organize the methods of the class inheriting it. The sub-class had to just focus on providing classifying, formatting, and parsing methods and this class will manage everything else using reflection.



SyntaxTracker
GitHub Javadoc


Is one of the ways to manage the position of the text when dealing with readers.