Class xrx.token.Tag
Extends
xrx.token.
Defined in: tag.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.token.Tag(label)
Constructs a new tag token.
|
Method Attributes | Method Name and Description |
---|---|
typeOf(type)
Compares the generic type of two tokens.
|
- Methods borrowed from class xrx.token:
- compare, isAfter, isBefore, label, length, offset, sameAs, set, type, xml
Class Detail
xrx.token.Tag(label)
Constructs a new tag token. The tag token is a generic
container token for all kinds of native tag tokens as
well as all generic tag tokens.
- Parameters:
- label
Method Detail
{!boolean}
typeOf(type)
Compares the generic type of two tokens.
- Parameters:
- {!number} type
- The type to check against.
- Returns:
- {!boolean}