Method | Description | |
---|---|---|
Commit ( char text, int off, int len ) : void |
This is used to commit the provided text in to the style that is required. Committing the text to the buffer assembles the tokens resulting in a complete token.
|
|
Parse ( char text, int off, int len ) : void |
This is used to parse the provided text in to the style that is required. Manipulation of the text before committing it ensures that the text adheres to the required style.
|
|
Parser ( String source ) : System |
Constructor for the
|
public Commit ( char text, int off, int len ) : void | ||
text | char | /// this is the text buffer to acquire the token from /// |
off | int | /// this is the offset in the buffer token starts at /// |
len | int | /// this is the length of the token to be committed /// |
return | void |
public Parse ( char text, int off, int len ) : void | ||
text | char | /// this is the text buffer to acquire the token from /// |
off | int | /// this is the offset in the buffer token starts at /// |
len | int | /// this is the length of the token to be parsed /// |
return | void |
public Parser ( String source ) : System | ||
source | String | /// this is the original string to be parsed /// |
return | System |