View Source GoogleApi.FirebaseRules.V1.Model.VisitedExpression (google_api_firebase_rules v0.17.0)

Store the position and access outcome for an expression visited in rules.

Attributes

  • sourcePosition (type: GoogleApi.FirebaseRules.V1.Model.SourcePosition.t, default: nil) - Position in the Source or Ruleset where an expression was visited.
  • value (type: any(), default: nil) - The evaluated value for the visited expression, e.g. true/false

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.FirebaseRules.V1.Model.VisitedExpression{
  sourcePosition: GoogleApi.FirebaseRules.V1.Model.SourcePosition.t() | nil,
  value: any() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.