NevronOpenVision
Nevron.Nov Namespace / NStringParser Class


In This Topic
    NStringParser Class Methods
    In This Topic

    For a list of all members of this type, see NStringParser members.

    Public Methods
     NameDescription
    Public MethodOverloaded. Parses the given chars starting from the specified start position and ending at the specified end position (inclusive).  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverloaded. Checks whether the next characters in the char array match the ones in the given string starting from the current reading position and from the specified position in the string. A case sensitive check is performed.  
    Protected MethodReads the character at the current position without advancing the parser pointer.  
    Protected MethodReads the character at the current position as an out parameter and advances the parser pointer.  
    Protected MethodOverloaded. Reads a token from the current position (inclusive) to the first occurrence of the given stop char (exclusive). The position of the first occurrence of the stop char becomes the new reading position. Returns false if the parser has reached its end position.  
    Protected Method

    Reads to the given close char, regarding other open and close chars as nested scopes. For example the following string will be read as a single token and not only to the first closing brace:

    {

    p.test { font-family:verdana,sans-serif;font-size:14px; }

    }

     
    Protected MethodSkips 1 character.  
    Protected MethodReads until a non white space char is met. The parser's position is then positioned at this non white space character position.  
    Protected MethodTrims the leading and trailing white space characters and updates the start and end indexes.  
    Top
    See Also