pub enum Token {
Show 33 variants
Contract,
Identity,
PurposeStatement,
DataSemantics,
BehavioralSemantics,
ExecutionConstraints,
HumanMachineContract,
Extensions,
IntegerType,
FloatType,
StringType,
BooleanType,
Iso8601Type,
UuidType,
ArrayType,
MapType,
ObjectType,
EnumType,
StringLiteral(String),
IntegerLiteral(i64),
FloatLiteral(f64),
BooleanLiteral(bool),
LBrace,
RBrace,
LBracket,
RBracket,
LAngle,
RAngle,
Colon,
Comma,
Equals,
Identifier(String),
Eof,
}Expand description
Token types for ICL syntax
Variants§
Contract
Identity
PurposeStatement
DataSemantics
BehavioralSemantics
ExecutionConstraints
HumanMachineContract
Extensions
IntegerType
FloatType
StringType
BooleanType
Iso8601Type
UuidType
ArrayType
MapType
ObjectType
EnumType
StringLiteral(String)
IntegerLiteral(i64)
FloatLiteral(f64)
BooleanLiteral(bool)
LBrace
RBrace
LBracket
RBracket
LAngle
RAngle
Colon
Comma
Equals
Identifier(String)
Eof
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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