Class Turtle.Lexer

java.lang.Object
org.hl7.fhir.r4.utils.formats.Turtle.Lexer
Enclosing class:
Turtle

public class Turtle.Lexer extends Object
  • Constructor Details

    • Lexer

      public Lexer(String source) throws org.hl7.fhir.exceptions.FHIRFormatError
      Throws:
      org.hl7.fhir.exceptions.FHIRFormatError
  • Method Details

    • done

      public boolean done()
    • next

      public String next(Turtle.LexerTokenType type, boolean postColon) throws org.hl7.fhir.exceptions.FHIRFormatError
      Throws:
      org.hl7.fhir.exceptions.FHIRFormatError
    • peek

      public String peek() throws Exception
      Throws:
      Exception
    • peekType

    • token

      public void token(String token) throws org.hl7.fhir.exceptions.FHIRFormatError
      Throws:
      org.hl7.fhir.exceptions.FHIRFormatError
    • word

      public void word(String word) throws Exception
      Throws:
      Exception
    • word

      public String word() throws org.hl7.fhir.exceptions.FHIRFormatError
      Throws:
      org.hl7.fhir.exceptions.FHIRFormatError
    • uri

      public String uri() throws org.hl7.fhir.exceptions.FHIRFormatError
      Throws:
      org.hl7.fhir.exceptions.FHIRFormatError
    • literal

      public String literal() throws org.hl7.fhir.exceptions.FHIRFormatError
      Throws:
      org.hl7.fhir.exceptions.FHIRFormatError
    • peek

      public boolean peek(Turtle.LexerTokenType type, String token)
    • error

      public org.hl7.fhir.exceptions.FHIRFormatError error(String message)