pub enum PurescriptSyntaxKind {
Show 83 variants
Whitespace,
Newline,
Comment,
Ado,
Case,
Class,
Data,
Derive,
Do,
Else,
False,
Forall,
Foreign,
If,
Import,
In,
Infix,
Infixl,
Infixr,
Instance,
Let,
Module,
Newtype,
Of,
Then,
True,
Type,
Where,
Arrow,
FatArrow,
Backslash,
Pipe,
Equal,
ColonColon,
Dot,
DotDot,
Plus,
Minus,
Star,
Slash,
Percent,
Caret,
EqualEqual,
NotEqual,
Less,
Greater,
LessEqual,
GreaterEqual,
And,
Or,
Append,
Compose,
ComposeFlipped,
Apply,
ApplyFlipped,
Bind,
BindFlipped,
LeftParen,
RightParen,
LeftBrace,
RightBrace,
LeftBracket,
RightBracket,
Comma,
Semicolon,
Colon,
Question,
Exclamation,
At,
Underscore,
Backtick,
IntLiteral,
NumberLiteral,
StringLiteral,
CharLiteral,
BooleanLiteral,
Identifier,
UpperIdentifier,
Operator,
QualifiedIdentifier,
Root,
Error,
Eof,
}Variants§
Whitespace
Newline
Comment
Ado
Case
Class
Data
Derive
Do
Else
False
Forall
Foreign
If
Import
In
Infix
Infixl
Infixr
Instance
Let
Module
Newtype
Of
Then
True
Type
Where
Arrow
FatArrow
Backslash
Pipe
Equal
ColonColon
Dot
DotDot
Plus
Minus
Star
Slash
Percent
Caret
EqualEqual
NotEqual
Less
Greater
LessEqual
GreaterEqual
And
Or
Append
Compose
ComposeFlipped
Apply
ApplyFlipped
Bind
BindFlipped
LeftParen
RightParen
LeftBrace
RightBrace
LeftBracket
RightBracket
Comma
Semicolon
Colon
Question
Exclamation
At
Underscore
Backtick
IntLiteral
NumberLiteral
StringLiteral
CharLiteral
BooleanLiteral
Identifier
UpperIdentifier
Operator
QualifiedIdentifier
Root
Error
Eof
Trait Implementations§
Source§impl Clone for PurescriptSyntaxKind
impl Clone for PurescriptSyntaxKind
Source§fn clone(&self) -> PurescriptSyntaxKind
fn clone(&self) -> PurescriptSyntaxKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PurescriptSyntaxKind
impl Debug for PurescriptSyntaxKind
Source§impl Hash for PurescriptSyntaxKind
impl Hash for PurescriptSyntaxKind
Source§impl PartialEq for PurescriptSyntaxKind
impl PartialEq for PurescriptSyntaxKind
Source§impl Serialize for PurescriptSyntaxKind
impl Serialize for PurescriptSyntaxKind
Source§impl SyntaxKind for PurescriptSyntaxKind
impl SyntaxKind for PurescriptSyntaxKind
Source§fn is_trivia(&self) -> bool
fn is_trivia(&self) -> bool
Returns true if this kind represents trivia (whitespace, comments, etc.). Read more
Source§fn is_comment(&self) -> bool
fn is_comment(&self) -> bool
Returns true if this kind represents a comment. Read more
Source§fn is_whitespace(&self) -> bool
fn is_whitespace(&self) -> bool
Returns true if this kind represents whitespace.
Source§fn is_token_type(&self) -> bool
fn is_token_type(&self) -> bool
Returns true if this kind represents a token type. Read more
Source§fn is_element_type(&self) -> bool
fn is_element_type(&self) -> bool
Returns true if this kind represents an element type. Read more
impl Copy for PurescriptSyntaxKind
impl Eq for PurescriptSyntaxKind
impl StructuralPartialEq for PurescriptSyntaxKind
Auto Trait Implementations§
impl Freeze for PurescriptSyntaxKind
impl RefUnwindSafe for PurescriptSyntaxKind
impl Send for PurescriptSyntaxKind
impl Sync for PurescriptSyntaxKind
impl Unpin for PurescriptSyntaxKind
impl UnwindSafe for PurescriptSyntaxKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more