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 (MLLexer lexer, bool selfClosing, out string property, out string value) |
Reads a property and its value from the given lexer. More... | |
static string | ReadString (MLLexer lexer) |
Reads a "string" or a 'string' from the lexer. Delimiting can be done with a backslash. More... | |
static void | SkipSpaces (MLLexer 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. |
|
inlinestatic |
Skips any whitespaces that occur next in the given lexer.
lexer | The lexer to skip spaces within. |