Enum webidl_parser::Token
[−]
[src]
pub enum Token { Any, ArrayBuffer, Attribute, Boolean, Byte, ByteString, Callback, Const, DataView, Deleter, Dictionary, DOMException, DOMString, Double, Enum, Error, False, Float, Float32Array, Float64Array, FrozenArray, Getter, Implements, Inherit, Int16Array, Int32Array, Int8Array, Interface, Iterable, LegacyCaller, Long, Maplike, Namespace, NaN, NegativeInfinity, Null, Object, Octet, Optional, Or, Partial, PositiveInfinity, Promise, ReadOnly, Record, Required, Sequence, Serializer, Setlike, Setter, Short, Static, Stringifier, True, Typedef, USVString, Uint16Array, Uint32Array, Uint8Array, Uint8ClampedArray, Unrestricted, Unsigned, Void, FloatLiteral(f64), Identifier(String), IntegerLiteral(i64), OtherLiteral(char), StringLiteral(String), Colon, Comma, Ellipsis, Equals, GreaterThan, Hyphen, LeftBrace, LeftBracket, LeftParenthesis, LessThan, Period, QuestionMark, RightBrace, RightBracket, RightParenthesis, Semicolon, }
An enum of all possible tokens allowed by the
WebIDL grammar A token in this case is a
terminal, either a static string or regular expression based token. Note that not all possible
simplifications are made such as converting the True
and False
tokens to actual booleans.
This choice was made to be as consistent as possible with the WebIDL grammar.
Variants
Any
ArrayBuffer
Attribute
Boolean
Byte
ByteString
Callback
Const
DataView
Deleter
Dictionary
DOMException
DOMString
Double
Enum
Error
False
Float
Float32Array
Float64Array
FrozenArray
Getter
Implements
Inherit
Int16Array
Int32Array
Int8Array
Interface
Iterable
LegacyCaller
Long
Maplike
Namespace
NaN
NegativeInfinity
Null
Object
Octet
Optional
Or
Partial
PositiveInfinity
Promise
ReadOnly
Record
Required
Sequence
Serializer
Setlike
Setter
Short
Static
Stringifier
True
Typedef
USVString
Uint16Array
Uint32Array
Uint8Array
Uint8ClampedArray
Unrestricted
Unsigned
Void
FloatLiteral(f64)
Identifier(String)
IntegerLiteral(i64)
OtherLiteral(char)
StringLiteral(String)
Colon
Comma
Ellipsis
Equals
GreaterThan
Hyphen
LeftBrace
LeftBracket
LeftParenthesis
LessThan
Period
QuestionMark
RightBrace
RightBracket
RightParenthesis
Semicolon
Trait Implementations
impl Clone for Token
[src]
fn clone(&self) -> Token
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more