C# Class Microsoft.Html.Core.Parser.Tokens.NameToken

Token representing element or attribute name (prefix:name sequence)
Inheritance: IHtmlToken
Mostrar archivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Contains ( int position ) : bool
Create ( int nameStart, int nameLength ) : NameToken
Create ( int prefixStart, int prefixLength, int colonPos, int nameStart, int nameLength ) : NameToken
HasName ( ) : bool
HasPrefix ( ) : bool
HasQualifiedName ( ) : bool
IsNameWellFormed ( ) : bool
IsValid ( ) : bool
NameToken ( TextRange nameRange ) : System
Shift ( int offset ) : void

Protected Methods

Method Description
NameToken ( int nameStart, int nameLength ) : System

Private Methods

Method Description
ToString ( ) : string

Method Details

Contains() public method

public Contains ( int position ) : bool
position int
return bool

Create() public static method

public static Create ( int nameStart, int nameLength ) : NameToken
nameStart int
nameLength int
return NameToken

Create() public static method

public static Create ( int prefixStart, int prefixLength, int colonPos, int nameStart, int nameLength ) : NameToken
prefixStart int
prefixLength int
colonPos int
nameStart int
nameLength int
return NameToken

HasName() public method

public HasName ( ) : bool
return bool

HasPrefix() public method

public HasPrefix ( ) : bool
return bool

HasQualifiedName() public method

public HasQualifiedName ( ) : bool
return bool

IsNameWellFormed() public method

public IsNameWellFormed ( ) : bool
return bool

IsValid() public method

public IsValid ( ) : bool
return bool

NameToken() public method

public NameToken ( TextRange nameRange ) : System
nameRange Microsoft.Languages.Core.Text.TextRange
return System

NameToken() protected method

protected NameToken ( int nameStart, int nameLength ) : System
nameStart int
nameLength int
return System

Shift() public method

public Shift ( int offset ) : void
offset int
return void