DecimalParser class

The Decimal type represents real values in the range (-10^28+1)/10^8 to (10^28-1)/10^8 with a step size of 10^-8. Again, this is FHIRPath's official definition, we use Dart's double, which I believe is the same range as int but with 15 decimal points. FHIRPath's range is defined based on a survey of decimal-value implementations and is based on the most useful lowest common denominator. Implementations can provide support for larger decimals and higher precision, but must provide at least the range and precision defined here. In addition, implementations should use fixed-precision decimal formats to ensure that decimal values are accurately represented

Inheritance

Constructors

DecimalParser(String newValue)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
getter/setter pairoverride

Methods

execute(List results, Map<String, dynamic> passed) List
The iterable, nested function that evaluates the entire FHIRPath expression one object at a time
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prettyPrint([int indent = 2]) String
Uses a rough approximation of reverse polish notation to render the parsed value of a FHIRPath in a more human readable way than verbosePrint, while still demonstrating how the expression was parsed and nested according to this package
override
toString() String
A string representation of this object.
override
verbosePrint(int indent) String
To print the entire parsed FHIRPath expression, this includes ALL of the Parsers that are used in this package by the names used in this package. These are not always synonymous with the FHIRPath specification (although they usually are), and include some parser classes that were created for ease of evaluation but are not included at all as objects in the official spec. I'm generally going to recommend that you use prettyPrint instead
override

Operators

operator ==(Object other) bool
The equality operator.
inherited