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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.