[][src]Enum fastobo::parser::Rule

pub enum Rule {
    EOI,
    WHITESPACE,
    Boolean,
    AltIdTag,
    AutoGeneratedByTag,
    BuiltinTag,
    CommentTag,
    ConsiderTag,
    CreatedByTag,
    CreationDateTag,
    DataVersionTag,
    DateTag,
    DisjointFromTag,
    DisjointOverTag,
    DefTag,
    DefaultNamespaceTag,
    DomainTag,
    EquivalentToTag,
    EquivalentToChainTag,
    ExpandAssertionToTag,
    ExpandExpressionToTag,
    FormatVersionTag,
    HoldsOverChainTag,
    IdspaceTag,
    ImportTag,
    InstanceOfTag,
    IntersectionOfTag,
    InverseOfTag,
    IsATag,
    IsAnonymousTag,
    IsAntiSymmetricTag,
    IsAsymmetricTag,
    IsClassLevelTag,
    IsCyclicTag,
    IsFunctionalTag,
    IsInverseFunctionalTag,
    IsMetadataTagTag,
    IsObsoleteTag,
    IsReflexiveTag,
    IsSymmetricTag,
    IsTransitiveTag,
    NameTag,
    NamespaceTag,
    NamespaceIdRuleTag,
    OntologyTag,
    OwlAxiomsTag,
    PropertyValueTag,
    RelationshipTag,
    RangeTag,
    RemarkTag,
    ReplacedByTag,
    SavedByTag,
    SubsetTag,
    SubsetdefTag,
    SynonymTypedefTag,
    SynonymTag,
    TransitiveOverTag,
    TreatXrefsAsEquivalentTag,
    TreatXrefsAsGenusDifferentiaTag,
    TreatXrefsAsHasSubclassTag,
    TreatXrefsAsIsATag,
    TreatXrefsAsReverseGenusDifferentiaTag,
    TreatXrefsAsRelationshipTag,
    UnionOfTag,
    XrefTag,
    AlphaChar,
    Digit,
    WhitespaceChar,
    NewlineChar,
    ws,
    nl,
    UniCodeChar,
    OboChar,
    NonWsChar,
    EOL,
    HiddenComment,
    QualifierChar,
    QualifierId,
    Qualifier,
    QualifierList,
    QuotedString,
    UnquotedString,
    ClassId,
    RelationId,
    InstanceId,
    SynonymTypeId,
    NamespaceId,
    SubsetId,
    Id,
    UrlId,
    UnprefixedId,
    PrefixedId,
    IdPrefix,
    CanonicalIdPrefix,
    NonCanonicalIdPrefix,
    IdLocal,
    CanonicalIdLocal,
    NonCanonicalIdLocal,
    Xref,
    XrefChar,
    XrefId,
    XrefListItem,
    XrefList,
    OboDoc,
    EntityFrame,
    EntitySingle,
    HeaderFrame,
    NaiveDateTime,
    NaiveDate,
    NaiveTime,
    NaiveDay,
    NaiveMonth,
    NaiveYear,
    NaiveHour,
    NaiveMinute,
    HeaderClause,
    Unreserved,
    TermFrame,
    TermClauseLine,
    TermClause,
    TypedefFrame,
    TypedefClauseLine,
    TypedefClause,
    InstanceFrame,
    InstanceClauseLine,
    InstanceClause,
    SynonymScope,
    SynonymScopeSingle,
    Synonym,
    Import,
    PropertyValue,
    PvValue,
    XsdDatatype,
    Iri,
    IriHierPart,
    IriAuthority,
    IriUserInfo,
    IriHost,
    IriRegName,
    IriPath,
    IriPathAbempty,
    IriPathAbsolute,
    IriPathNoScheme,
    IriPathRootless,
    IriPathEmpty,
    IriSegment,
    IriSegmentNz,
    IriSegmentNzNc,
    IriQuery,
    IriFragment,
    IriScheme,
    IriPort,
    IriPrivate,
    IriPctEncoded,
    IriUnreserved,
    IriReserved,
    IriGenDelims,
    IriSubDelims,
    IriDecOctet,
    IriIpChar,
    IriIpLiteral,
    IriIpv6H16,
    IriIpv6Ls32,
    IriIpv4Address,
    IriIpvFutureAddress,
    IriIpv6Address,
    Iso8601DateTime,
    Iso8601Date,
    Iso8601DateSep,
    Iso8601Year,
    Iso8601Month,
    Iso8601Day,
    Iso8601Time,
    Iso8601TimeSep,
    Iso8601DecSep,
    Iso8601Hour,
    Iso8601Minute,
    Iso8601Second,
    Iso8601Fraction,
    Iso8601TimeZone,
}

The production rules of the OBO 1.4 PEG grammar.

Variants

EOI
WHITESPACE
Boolean
AltIdTag
AutoGeneratedByTag
BuiltinTag
CommentTag
ConsiderTag
CreatedByTag
CreationDateTag
DataVersionTag
DateTag
DisjointFromTag
DisjointOverTag
DefTag
DefaultNamespaceTag
DomainTag
EquivalentToTag
EquivalentToChainTag
ExpandAssertionToTag
ExpandExpressionToTag
FormatVersionTag
HoldsOverChainTag
IdspaceTag
ImportTag
InstanceOfTag
IntersectionOfTag
InverseOfTag
IsATag
IsAnonymousTag
IsAntiSymmetricTag
IsAsymmetricTag
IsClassLevelTag
IsCyclicTag
IsFunctionalTag
IsInverseFunctionalTag
IsMetadataTagTag
IsObsoleteTag
IsReflexiveTag
IsSymmetricTag
IsTransitiveTag
NameTag
NamespaceTag
NamespaceIdRuleTag
OntologyTag
OwlAxiomsTag
PropertyValueTag
RelationshipTag
RangeTag
RemarkTag
ReplacedByTag
SavedByTag
SubsetTag
SubsetdefTag
SynonymTypedefTag
SynonymTag
TransitiveOverTag
TreatXrefsAsEquivalentTag
TreatXrefsAsGenusDifferentiaTag
TreatXrefsAsHasSubclassTag
TreatXrefsAsIsATag
TreatXrefsAsReverseGenusDifferentiaTag
TreatXrefsAsRelationshipTag
UnionOfTag
XrefTag
AlphaChar
Digit
WhitespaceChar
NewlineChar
ws
nl
UniCodeChar
OboChar
NonWsChar
EOL
HiddenComment
QualifierChar
QualifierId
Qualifier
QualifierList
QuotedString
UnquotedString
ClassId
RelationId
InstanceId
SynonymTypeId
NamespaceId
SubsetId
Id
UrlId
UnprefixedId
PrefixedId
IdPrefix
CanonicalIdPrefix
NonCanonicalIdPrefix
IdLocal
CanonicalIdLocal
NonCanonicalIdLocal
Xref
XrefChar
XrefId
XrefListItem
XrefList
OboDoc
EntityFrame
EntitySingle
HeaderFrame
NaiveDateTime
NaiveDate
NaiveTime
NaiveDay
NaiveMonth
NaiveYear
NaiveHour
NaiveMinute
HeaderClause
Unreserved
TermFrame
TermClauseLine
TermClause
TypedefFrame
TypedefClauseLine
TypedefClause
InstanceFrame
InstanceClauseLine
InstanceClause
SynonymScope
SynonymScopeSingle
Synonym
Import
PropertyValue
PvValue
XsdDatatype
Iri
IriHierPart
IriAuthority
IriUserInfo
IriHost
IriRegName
IriPath
IriPathAbempty
IriPathAbsolute
IriPathNoScheme
IriPathRootless
IriPathEmpty
IriSegment
IriSegmentNz
IriSegmentNzNc
IriQuery
IriFragment
IriScheme
IriPort
IriPrivate
IriPctEncoded
IriUnreserved
IriReserved
IriGenDelims
IriSubDelims
IriDecOctet
IriIpChar
IriIpLiteral
IriIpv6H16
IriIpv6Ls32
IriIpv4Address
IriIpvFutureAddress
IriIpv6Address
Iso8601DateTime
Iso8601Date
Iso8601DateSep
Iso8601Year
Iso8601Month
Iso8601Day
Iso8601Time
Iso8601TimeSep
Iso8601DecSep
Iso8601Hour
Iso8601Minute
Iso8601Second
Iso8601Fraction
Iso8601TimeZone

Trait Implementations

impl Clone for Rule[src]

impl Copy for Rule[src]

impl Debug for Rule[src]

impl Eq for Rule[src]

impl Hash for Rule[src]

impl Ord for Rule[src]

impl Parser<Rule> for OboParser[src]

impl PartialEq<Rule> for Rule[src]

impl PartialOrd<Rule> for Rule[src]

impl StructuralEq for Rule[src]

impl StructuralPartialEq for Rule[src]

Auto Trait Implementations

impl RefUnwindSafe for Rule

impl Send for Rule

impl Sync for Rule

impl Unpin for Rule

impl UnwindSafe for Rule

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.