def
def name = value
def main(def param1 = 0 def param2 = 3 def param3 = def type) {
print((param1 + param2) / param3)
}
def MyType {
def field1 = 0
def field2 = 100
}
def addAB(def a = 0, def b = 0) {
def a + b
}
def variable = def MyType
print(variable.field1)
print(variable.field1 + variable.field2)
variable.method()
print(variable.field1)
def MyType {
def field1 = 0
def field2 = 100
def method() {
def.field1 = def.field1 + def.field2
def def.field1 * def.field2
}
}
def print(var value = 0)
def /path/to/source.def
def print(def var = 0)
def type {
def z = 0
def k = 0
def hello(def z = 0) {
def.z = 1
def.k = def.z + def.k
def def.k
}
}
def main() {
def y = 6
def k = def type
k.hello()
k.hello()
print(y + k.k + k.hello())
}