Package org.hl7.fhir.r4.utils.formats
Class Turtle.Lexer
- java.lang.Object
-
- org.hl7.fhir.r4.utils.formats.Turtle.Lexer
-
- Enclosing class:
- Turtle
public class Turtle.Lexer extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandone()org.hl7.fhir.exceptions.FHIRFormatErrorerror(String message)Stringliteral()Stringnext(Turtle.LexerTokenType type, boolean postColon)Stringpeek()booleanpeek(Turtle.LexerTokenType type, String token)Turtle.LexerTokenTypepeekType()voidtoken(String token)Stringuri()Stringword()voidword(String word)
-
-
-
Method Detail
-
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
-
peekType
public Turtle.LexerTokenType peekType()
-
token
public void token(String token) throws org.hl7.fhir.exceptions.FHIRFormatError
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
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)
-
-