[−][src]Module fastobo::ast
Owned syntax tree for the OBO format version 1.4.
OboDoc
is the struct acting as the root of the syntax tree. It can be
created from a borrowed string slice with either FromStr::from_str
or
FromSlice::from_slice
, from a file with fastobo::from_file
, or from
a buffered reader with fastobo::from_stream
.
Structs
ClassId | A borrowed |
ClassIdent | A unique identifier for a class (i.e. a term). |
Comment | An inline comment without semantic value. |
HeaderFrame | The header frame, containing metadata about an OBO document. |
IdLocal | A borrowed |
IdPrefix | A borrowed |
IdentLocal | A local identifier, preceded by a prefix in prefixed IDs. |
IdentPrefix | An identifier prefix, either canonical or non-canonical. |
InstanceFrame | An instance frame, describing a particular individual. |
InstanceId | A borrowed |
InstanceIdent | A unique identifier for an instance. |
IsoDateTime | A comprehensive ISO-8601 datetime, as found in |
Line | A line in an OBO file, possibly followed by qualifiers and a comment. |
NaiveDateTime | A naive datetime, as found in header frames. |
NamespaceId | A borrowed |
NamespaceIdent | An OBO namespace identifier. |
OboDoc | A complete OBO document in format version 1.4. |
PrefixedId | A borrowed |
PrefixedIdent | An identifier with a prefix. |
Qualifier | A qualifier, possibly used as a trailing modifier. |
QualifierList | A list containing zero or more |
QuotedStr | A borrowed |
QuotedString | A string enclosed by quotes, used for definitions. |
RelationId | A borrowed |
RelationIdent | A unique identifier for a typedef (i.e. a relation). |
SubsetId | A borrowed |
SubsetIdent | A unique identifier for a subset |
Synonym | A synonym, denoting an alternative name for the embedding entity. |
SynonymTypeId | A borrowed |
SynonymTypeIdent | A unique identifier for a synonym type. |
TermFrame | A term frame, describing a class. |
TypedefFrame | A typedef clause, describing a relationship. |
UnprefixedId | A borrowed |
UnprefixedIdent | An identifier without a prefix. |
UnquotedStr | A borrowed |
UnquotedString | A string without delimiters, used as values in different clauses. |
Url | A parsed URL record. |
Xref | A database cross-reference definition. |
XrefList | A list of containing zero or more |
Enums
EntityFrame | An entity frame, either for a term, an instance, or a typedef. |
HeaderClause | A clause appearing in a header frame. |
Id | A borrowed |
Ident | An identifier, either prefixed, unprefixed, or a valid URL. |
Import | A reference to another document to be imported. |
InstanceClause | A clause appearing in an instance frame. |
IsoTimezone | An ISO-8601 timezone. |
PropVal | A borrowed |
PropertyValue | A clause value binding a property to a value in the relevant entity. |
SynonymScope | A synonym scope specifier. |
TermClause | A clause appearing in a term frame. |
TypedefClause | A clause appearing in a typedef frame. |
Traits
DateTime | A trait for common operations on OBO datetimes. |
Type Definitions
Eol | The optional part of a line, holding a qualifier list and a comment. |