Reads properties/ attributes from a lexer. These are of the form propertyName="propertyValue", propertyName=value or singleProperty (i.e. no value).
Static Public Member Functions | |
static void | Read (StringReader lexer, System.Text.StringBuilder builder, bool selfClosing, out string property, out string value) |
Reads a property and its value from the given lexer. More... | |
static void | ReadString (StringReader lexer, System.Text.StringBuilder builder) |
Reads a "string" or a 'string' from the lexer. Delimiting can be done with a backslash. More... | |
static void | SkipSpaces (StringReader lexer) |
Skips any whitespaces that occur next in the given lexer. More... | |
|
inlinestatic |
Reads a property and its value from the given lexer.
lexer | The lexer to read the property from. |
selfClosing | True if the tag being read is a self closing one. |
property | The name of the property that was read. |
value | The value of the property, if there was one. Null otherwise. |
|
inlinestatic |
Reads a "string" or a 'string' from the lexer. Delimiting can be done with a backslash.
lexer | The lexer the string will be read from. |
builder | The builder to read it into. |
|
inlinestatic |
Skips any whitespaces that occur next in the given lexer.
lexer | The lexer to skip spaces within. |