TurtleParsingFlag enum
Flags for non-standard Turtle parsing behavior.
These flags allow for more granular control over how relaxed the parser should be when encountering various non-standard Turtle syntax patterns. Each flag represents a specific deviation from the standard Turtle specification.
Use these flags when parsing real-world Turtle files that don't strictly follow the W3C Turtle specification but are still semantically meaningful.
Values
- allowDigitInLocalName → const TurtleParsingFlag
- 
  Allows prefixed names to have local names that start with digits. E.g., allows schema:3DModelwhich is not valid in standard Turtle.
- allowMissingDotAfterPrefix → const TurtleParsingFlag
- 
  Allows prefix declarations without a trailing dot. E.g., allows @prefix ex: <http://example.com/>
- autoAddCommonPrefixes → const TurtleParsingFlag
- 
  Auto-adds common prefixes (rdf, rdfs, xsd, etc.) when not explicitly defined. This can help parse documents that use standard prefixes without declaring them. 
- allowPrefixWithoutAtSign → const TurtleParsingFlag
- 
  Allows prefix declarations without the @ symbol. E.g., allows prefix ex: <http://example.com/>
- allowMissingFinalDot → const TurtleParsingFlag
- 
  Handles missing dots at the end of triple statements more gracefully. 
- allowIdentifiersWithoutColon → const TurtleParsingFlag
- 
  Allows simple identifiers without colons to be treated as prefixed names. E.g., allows abcto be treated as an IRI that is resolved against the base URI.Note: This requires that a base URI is set, either through an @base directive in the document or provided as the documentUrl parameter when decoding. Example: @base <http://example.org/> . <http://example.org/subject> a Type .Here "Type" will be resolved to example.org/Type 
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- index → int
- 
  A numeric identifier for the enumerated value.
  no setterinherited
- name → String
- 
      Available on Enum, provided by the EnumName extension The name of the enum value.no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Constants
- 
    values
  → const List<TurtleParsingFlag> 
- A constant List of the values in this enum, in order of their declaration.