pub enum VampireTokenType {
Show 91 variants
Eof,
Whitespace,
LineComment,
BlockComment,
StringLiteral,
IntegerLiteral,
RealLiteral,
Identifier,
FofKw,
CnfKw,
TffKw,
ThfKw,
TpiKw,
IncludeKw,
AxiomKw,
HypothesisKw,
DefinitionKw,
AssumptionKw,
LemmaKw,
TheoremKw,
ConjectureKw,
NegatedConjectureKw,
PlainKw,
TypeKw,
FiDomainKw,
FiFunctorsKw,
FiPredicatesKw,
UnknownKw,
ForallKw,
ExistsKw,
AndKw,
OrKw,
NotKw,
ImpliesKw,
IffKw,
XorKw,
NorKw,
NandKw,
BoolKw,
IndividualKw,
IntKw,
RealKw,
RatKw,
TTypeKw,
OTypeKw,
ITypeKw,
BoolLiteral,
DoubleEq,
NotEq,
LessEq,
GreaterEq,
AndAnd,
OrOr,
PlusPlus,
MinusMinus,
PlusEq,
MinusEq,
StarEq,
SlashEq,
PercentEq,
LeftShift,
RightShift,
Arrow,
LeftParen,
RightParen,
LeftBracket,
RightBracket,
LeftBrace,
RightBrace,
Colon,
Semicolon,
Dot,
Comma,
Question,
Bang,
At,
Hash,
Dollar,
Percent,
Caret,
Ampersand,
Star,
Plus,
Minus,
Eq,
LessThan,
GreaterThan,
Slash,
Backslash,
Pipe,
Tilde,
}Expand description
Vampire token types.
Variants§
Eof
End of file.
Whitespace
Whitespace.
LineComment
Line comment.
BlockComment
Block comment.
StringLiteral
String literal.
IntegerLiteral
Integer literal.
RealLiteral
Real literal.
Identifier
Identifier.
FofKw
CnfKw
TffKw
ThfKw
TpiKw
IncludeKw
AxiomKw
HypothesisKw
DefinitionKw
AssumptionKw
LemmaKw
TheoremKw
ConjectureKw
NegatedConjectureKw
PlainKw
TypeKw
FiDomainKw
FiFunctorsKw
FiPredicatesKw
UnknownKw
ForallKw
ExistsKw
AndKw
OrKw
NotKw
ImpliesKw
IffKw
XorKw
NorKw
NandKw
BoolKw
IndividualKw
IntKw
RealKw
RatKw
TTypeKw
OTypeKw
ITypeKw
BoolLiteral
DoubleEq
NotEq
LessEq
GreaterEq
AndAnd
OrOr
PlusPlus
MinusMinus
PlusEq
MinusEq
StarEq
SlashEq
PercentEq
LeftShift
RightShift
Arrow
LeftParen
RightParen
LeftBracket
RightBracket
LeftBrace
RightBrace
Colon
Semicolon
Dot
Comma
Question
Bang
At
Hash
Dollar
Percent
Caret
Ampersand
Star
Plus
Minus
Eq
LessThan
GreaterThan
Slash
Backslash
Pipe
Tilde
Trait Implementations§
Source§impl Clone for VampireTokenType
impl Clone for VampireTokenType
Source§fn clone(&self) -> VampireTokenType
fn clone(&self) -> VampireTokenType
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 VampireTokenType
impl Debug for VampireTokenType
Source§impl<'de> Deserialize<'de> for VampireTokenType
impl<'de> Deserialize<'de> for VampireTokenType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<VampireTokenType> for VampireElementType
impl From<VampireTokenType> for VampireElementType
Source§fn from(_: VampireTokenType) -> Self
fn from(_: VampireTokenType) -> Self
Converts to this type from the input type.
Source§impl From<VampireTokenType> for u16
impl From<VampireTokenType> for u16
Source§fn from(t: VampireTokenType) -> u16
fn from(t: VampireTokenType) -> u16
Converts to this type from the input type.
Source§impl From<u16> for VampireTokenType
impl From<u16> for VampireTokenType
Source§impl Hash for VampireTokenType
impl Hash for VampireTokenType
Source§impl PartialEq for VampireTokenType
impl PartialEq for VampireTokenType
Source§impl Serialize for VampireTokenType
impl Serialize for VampireTokenType
Source§impl TokenType for VampireTokenType
impl TokenType for VampireTokenType
Source§const END_OF_STREAM: Self = VampireTokenType::Eof
const END_OF_STREAM: Self = VampireTokenType::Eof
A constant representing the end of the input stream.
Source§type Role = UniversalTokenRole
type Role = UniversalTokenRole
The associated role type for this token kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this token matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalTokenRole) -> bool
fn is_universal(&self, role: UniversalTokenRole) -> bool
Returns true if this token matches the specified universal role.
Source§fn is_comment(&self) -> bool
fn is_comment(&self) -> bool
Returns true if this token represents a comment.
Source§fn is_whitespace(&self) -> bool
fn is_whitespace(&self) -> bool
Returns true if this token represents whitespace.
Source§fn is_ignored(&self) -> bool
fn is_ignored(&self) -> bool
Returns true if this token represents trivia (whitespace, comments, etc.).
Source§fn is_end_of_stream(&self) -> bool
fn is_end_of_stream(&self) -> bool
Returns true if this token represents the end of the input stream.
impl Copy for VampireTokenType
impl Eq for VampireTokenType
impl StructuralPartialEq for VampireTokenType
Auto Trait Implementations§
impl Freeze for VampireTokenType
impl RefUnwindSafe for VampireTokenType
impl Send for VampireTokenType
impl Sync for VampireTokenType
impl Unpin for VampireTokenType
impl UnsafeUnpin for VampireTokenType
impl UnwindSafe for VampireTokenType
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