Class xrx.token.StartEmptyTag
Extends
xrx.token.
Defined in: startEmptyTag.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.token.StartEmptyTag(label, opt_offset, opt_length)
Constructs a new start-empty-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.StartEmptyTag(label, opt_offset, opt_length)
Constructs a new start-empty-tag token. xrx.token.StartEmptyTag
is a generic token which stands for either the start-tag or the
empty-tag token. This is especially useful to evaluate Path
expressions which do not distinguish between start and empty tags.
- Parameters:
- label
- opt_offset
- opt_length
Method Detail
{!boolean}
typeOf(type)
Compares the generic type of two tokens.
- Parameters:
- {!number} type
- The type to check against.
- Returns:
- {!boolean}