pub enum Element {
}Expand description
PureScript syntax elements.
Variants§
Module(String)
A module declaration.
Import(String)
An import statement.
DataDecl(String)
A data type declaration.
FunctionDecl(String)
A function declaration.
Identifier(String)
An identifier.
Keyword(String)
A keyword.
Operator(String)
An operator.
StringLiteral(String)
A string literal.
NumberLiteral(String)
A number literal.
CharLiteral(String)
A character literal.
Comment(String)
A comment.
Whitespace(String)
Whitespace.
Newline
A newline character.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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