
Package org.hl7.fhir.r4.fhirpath
Class FHIRLexer
java.lang.Object
org.hl7.fhir.r4.fhirpath.FHIRLexer
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandone()org.hl7.fhir.utilities.SourceLocationorg.hl7.fhir.utilities.SourceLocationintorg.hl7.fhir.utilities.SourceLocationbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisOp()booleanbooleanisToken()voidnext()intnextId()readConstant(String desc) readFixedName(String desc) voidsetCurrent(String current) voidsetLiquidMode(boolean liquidMode) voidsetMetadataFormat(boolean metadataFormat) voidvoidtake()inttakeInt()voidtokenWithTrailingComment(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
-
hasComment
-
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
-
skipComments
- Throws:
FHIRLexer.FHIRLexerException
-
getCurrentStart
-
getSource
-
isLiquidMode
-
setLiquidMode
-
getCommentLocation
-
isMetadataFormat
-
setMetadataFormat
-
cloneComments
-
tokenWithTrailingComment
-
isAllowDoubleQuotes
-