[−][src]Enum sixtyfps_compilerlib::parser::SyntaxKind
Variants
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Token
Note: This is in fact the same as Component as far as the parser is concerned
-> type
(but without the ->)
Declaration of a propery.
QualifiedName are the properties name
wraps Identifiers, like Rectangle
or SomeModule.SomeType
Wraps single identifier (to disambiguate when there are other identifier in the production)
xxx <=> something
the right-hand-side of a binding
foo!bar
expression()
expression += expression
condition ? first : second
expr + expr
- expr
[ ... ]
{ foo: bar }
foo: bar
inside an ObjectLiteral
states: [...]
The DeclaredIdentifier is the state name. The Expression, if any, is the condition.
binding within a state
transitions: [...]
There is an idientfier "in" or "out", the DeclaredIdentifier is the state name
Export a set of declared components by name
Declare the first identifier to be exported, either under its name or instead under the name of the second identifier.
import { foo, bar, baz } from "blah"; The import uri is stored as string literal.
{ foo as bar } or just { foo }
The representation of a type
{foo: string, bar: string}
foo: type
inside an ObjectType
[ type ]
`struct Foo := { ... }
Trait Implementations
impl Clone for SyntaxKind
[src]
pub fn clone(&self) -> SyntaxKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SyntaxKind
[src]
impl Debug for SyntaxKind
[src]
impl Eq for SyntaxKind
[src]
impl From<SyntaxKind> for u16
[src]
pub fn from(enum_value: SyntaxKind) -> Self
[src]
impl From<SyntaxKind> for SyntaxKind
[src]
pub fn from(v: SyntaxKind) -> Self
[src]
impl PartialEq<SyntaxKind> for SyntaxKind
[src]
pub fn eq(&self, other: &SyntaxKind) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SyntaxKind
[src]
impl StructuralPartialEq for SyntaxKind
[src]
impl TryFrom<u16> for SyntaxKind
[src]
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
pub fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
impl TryFromPrimitive for SyntaxKind
[src]
type Primitive = u16
pub const NAME: &'static str
[src]
pub fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
[src]
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for SyntaxKind
[src]
impl Send for SyntaxKind
[src]
impl Sync for SyntaxKind
[src]
impl Unpin for SyntaxKind
[src]
impl UnwindSafe for SyntaxKind
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,