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

Inheritance: IHtmlToken, ICompositeTextRange
Mostra file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
AttributeToken ( IHtmlToken nameToken ) : System
AttributeToken ( IHtmlToken nameToken, int equalsPosition ) : System
AttributeToken ( IHtmlToken nameToken, int equalsPosition, IHtmlAttributeValueToken value ) : System
Contains ( int position ) : bool
HasEqualSign ( ) : bool

Tells if attribute has an equal sign

HasName ( ) : bool

Tells if attribute has a name

HasPrefix ( ) : bool

Determines if attribute name has prefix

HasQualifiedName ( ) : bool

Determines if attribute name is a fully qualified name (prefix:name)

HasValue ( ) : bool

Tells if attribute has a value

Shift ( int offset ) : void
ShiftStartingFrom ( int start, int offset ) : void

Private Methods

Method Description
ToString ( ) : string

Method Details

AttributeToken() public method

public AttributeToken ( IHtmlToken nameToken ) : System
nameToken IHtmlToken
return System

AttributeToken() public method

public AttributeToken ( IHtmlToken nameToken, int equalsPosition ) : System
nameToken IHtmlToken
equalsPosition int
return System

AttributeToken() public method

public AttributeToken ( IHtmlToken nameToken, int equalsPosition, IHtmlAttributeValueToken value ) : System
nameToken IHtmlToken
equalsPosition int
value IHtmlAttributeValueToken
return System

Contains() public method

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

HasEqualSign() public method

Tells if attribute has an equal sign
public HasEqualSign ( ) : bool
return bool

HasName() public method

Tells if attribute has a name
public HasName ( ) : bool
return bool

HasPrefix() public method

Determines if attribute name has prefix
public HasPrefix ( ) : bool
return bool

HasQualifiedName() public method

Determines if attribute name is a fully qualified name (prefix:name)
public HasQualifiedName ( ) : bool
return bool

HasValue() public method

Tells if attribute has a value
public HasValue ( ) : bool
return bool

Shift() public method

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

ShiftStartingFrom() public method

public ShiftStartingFrom ( int start, int offset ) : void
start int
offset int
return void