Enum rdf::reader::lexer::token::Token
[−]
[src]
pub enum Token { Comment(String), Literal(String), LiteralWithUrlDatatype(String, String), LiteralWithQNameDatatype(String, String, String), LiteralWithLanguageSpecification(String, String), Uri(String), BlankNode(String), TripleDelimiter, PrefixDirective(String, String), BaseDirective(String), QName(String, String), Prefix(String), KeywordA, PredicateListDelimiter, ObjectListDelimiter, CollectionStart, CollectionEnd, UnlabeledBlankNodeStart, UnlabeledBlankNodeEnd, EndOfInput, }
Tokens are produces by RDF lexers.
Variants
Comment(String)
Literal(String)
LiteralWithUrlDatatype(String, String)
LiteralWithQNameDatatype(String, String, String)
LiteralWithLanguageSpecification(String, String)
Uri(String)
BlankNode(String)
TripleDelimiter
PrefixDirective(String, String)
BaseDirective(String)
QName(String, String)
Prefix(String)
KeywordA
PredicateListDelimiter
ObjectListDelimiter
CollectionStart
CollectionEnd
UnlabeledBlankNodeStart
UnlabeledBlankNodeEnd
EndOfInput
Trait Implementations
impl Debug for Token
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Token
[src]
fn eq(&self, __arg_0: &Token) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Token) -> bool
[src]
This method tests for !=
.