Lines Matching refs:final
95 - Constants can be declared with `:final` and `:const`: >
96 final matches = [] # add matches
98 - `:final` cannot be used as an abbreviation of `:finally`.
295 Variable declarations with :var, :final and :const ~
298 declared with `:final` or `:const`. We refer to both as "variables" in this
363 `:lockvar` does not work on local variables. Use `:const` and `:final`
432 *vim9-const* *vim9-final*
445 < *:final*
446 `:final` is used for making only the variable a constant, the value can be
448 final myList = [1, 2]
456 final females = ["Mary"]
1412 export final someValue = ...
1681 immutable. Since "final" is well known from Java for only making the variable
1688 :final name # immutable variable, mutable value
1702 final mylist: list<string> = ['foo']
1708 final list<string> mylist = ['foo']
1712 final mylist list<string> = ['foo']