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

Position in the Source content including its line, column number, and an index of the File in the Source message. Used for debug purposes.

Attributes

  • column (type: integer(), default: nil) - First column on the source line associated with the source fragment.
  • currentOffset (type: integer(), default: nil) - Start position relative to the beginning of the file.
  • endOffset (type: integer(), default: nil) - End position relative to the beginning of the file.
  • fileName (type: String.t, default: nil) - Name of the File.
  • line (type: integer(), default: nil) - Line number of the source fragment. 1-based.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.FirebaseRules.V1.Model.SourcePosition{
  column: integer() | nil,
  currentOffset: integer() | nil,
  endOffset: integer() | nil,
  fileName: String.t() | nil,
  line: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.