module Dhall::Parser::Variable

Public Instance Methods

value() click to toggle source
# File lib/dhall/parser.rb, line 373
def value
        Dhall::Variable.new(
                name:  capture(:nonreserved_label).value,
                index: capture(:natural_literal)&.string.to_i
        )
end