Data Attributes
The attribute operator (.
) can be used to recursively resolve values from a compound native Python data type such as
an object or dictionary. This can be used when the thing which the rule is evaluating has members with their own
submembers. If the resolver function fails, the attribute will be checked to determine if it is a builtin attribute.
Builtin Attributes
The following attributes are builtin to the default Context
object.
Attribute Name |
Attribute Type |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FLOAT Attributes 1
Due to the syntax of floating point literals, the attributes must be accessed using parenthesis. For example
3.14.to_str
is invalid while (3.14).to_str
is valid.