Package org.hl7.fhir.r5.fhirpath
Class FHIRLexer
java.lang.Object
org.hl7.fhir.r5.fhirpath.FHIRLexer
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
done()
org.hl7.fhir.utilities.SourceLocation
org.hl7.fhir.utilities.SourceLocation
int
org.hl7.fhir.utilities.SourceLocation
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isOp()
boolean
boolean
isToken()
void
next()
int
nextId()
readConstant
(String desc) readFixedName
(String desc) void
setCurrent
(String current) void
setLiquidMode
(boolean liquidMode) void
setMetadataFormat
(boolean metadataFormat) void
take()
int
takeInt()
void
tokenWithTrailingComment
(String token)
-
Constructor Details
-
FHIRLexer
- Throws:
FHIRLexer.FHIRLexerException
-
FHIRLexer
- Throws:
FHIRLexer.FHIRLexerException
-
FHIRLexer
public FHIRLexer(String source, int i, boolean allowDoubleQuotes) throws FHIRLexer.FHIRLexerException - Throws:
FHIRLexer.FHIRLexerException
-
FHIRLexer
public FHIRLexer(String source, String name, boolean metadataFormat, boolean allowDoubleQuotes) throws FHIRLexer.FHIRLexerException - Throws:
FHIRLexer.FHIRLexerException
-
-
Method Details
-
getCurrent
-
getCurrentLocation
-
isConstant
-
isFixedName
-
isStringConstant
-
take
- Throws:
FHIRLexer.FHIRLexerException
-
takeInt
- Throws:
FHIRLexer.FHIRLexerException
-
isToken
-
error
-
error
public FHIRLexer.FHIRLexerException error(String msg, String location, org.hl7.fhir.utilities.SourceLocation loc) -
next
- Throws:
FHIRLexer.FHIRLexerException
-
isOp
-
done
-
nextId
-
getCurrentStartLocation
-
setCurrent
-
hasComments
-
getComments
-
getAllComments
-
getFirstComment
-
hasToken
-
hasToken
-
token
- Throws:
FHIRLexer.FHIRLexerException
-
readConstant
- Throws:
FHIRLexer.FHIRLexerException
-
readFixedName
- Throws:
FHIRLexer.FHIRLexerException
-
processConstant
- Throws:
FHIRLexer.FHIRLexerException
-
processFixedName
- Throws:
FHIRLexer.FHIRLexerException
-
skipToken
- Throws:
FHIRLexer.FHIRLexerException
-
takeDottedToken
- Throws:
FHIRLexer.FHIRLexerException
-
getCurrentStart
-
getSource
-
isLiquidMode
-
setLiquidMode
-
getCommentLocation
-
isMetadataFormat
-
setMetadataFormat
-
cloneComments
-
tokenWithTrailingComment
-
isAllowDoubleQuotes
-