src.test.resources.com.eva.properties.inheritance.eva Maven / Gradle / Ivy
/*
* $Id: inheritance.eva 14 2007-02-07 22:03:48Z max $
*
* Copyright (c) 2006-2007 Maximilian Antoni. All rights reserved.
*
* This software is licensed as described in the file LICENSE.txt, which you
* should have received as part of this distribution. The terms are also
* available at http://www.maxantoni.de/projects/eva-properties/license.txt.
*/
older: {
granny: {
full-name: "${first-name} ${last-name}"
last-name: Foo
first-name: Granny
}
father: {
super: ${older.granny}
first-name: Father
}
}
son: {
super: ${older.father}
first-name: Son
}
mother: {
injected: ${inject}
}
daughter: {
super: ${mother}
inject: "Huhu"
}
a: {
name: "a"
b: {
name: "b"
foo: "bar"
c: {
name: ${b.name}
bla: ${foo}
}
}
}
base: "base"
defaults: {
base: "defaults-base"
x: "${base}/x"
hello: ${inherit_me}
}
inherited: {
super: ${defaults}
y: "${base}/y"
inherit_me: "world"
}