Module double

Source
Expand description

Various T!s representing two consecutive tokens that cannot be separated by any other tokens. These are convenient as it can be tricky to parse two consecutive tokens given the default behaviour of the parser is to skip whitespace and comments.

Structsยง

CaretEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char ^ while the second has the char =, representing ^=. Use T![^=] to refer to this.
ColonColon
Represents a two consecutive tokens with Kind::Colon that cannot be separated by any other token, representing ::. Use T![::] to refer to this.
DollarEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char $ while the second has the char =, representing $=. Use T![$=] to refer to this.
EqualEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char = while the second has the char =, representing ==. Use T![==] to refer to this.
GreaterThanEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char > while the second has the char =, representing >=. Use T![>=] to refer to this.
LessThanEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char < while the second has the char =, representing <=. Use T![<=] to refer to this.
PipeEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char | while the second has the char =, representing |=. Use T![|=] to refer to this.
PipePipe
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char | while the second has the char |, representing ||. Use T![||] to refer to this.
StarEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char * while the second has the char =, representing *=. Use T![*=] to refer to this.
StarPipe
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char * while the second has the char |, representing *|. Use T![*|] to refer to this.
TildeEqual
Represents a two consecutive tokens with Kind::Delim that cannot be separated by any other token. The first token has the char ~ while the second has the char =, representing ~=. Use T![~=] to refer to this.