C# Класс SimpleFramework.Xml.Stream.HyphenBuilder.Parser

This is used to parse the style for this builder. This takes all of the words split from the original string and builds all of the processed tokens for the styles elements and attributes.
Наследование: Splitter
Показать файл Открыть проект

Открытые методы

Метод Описание
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 Parser object. This will take the original string and parse it such that all of the words are emitted and used to build the styled token.

Описание методов

Commit() публичный Метод

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.
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 ///
Результат void

Parse() публичный Метод

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.
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 ///
Результат void

Parser() публичный Метод

Constructor for the Parser object. This will take the original string and parse it such that all of the words are emitted and used to build the styled token.
public Parser ( String source ) : System
source String /// this is the original string to be parsed ///
Результат System