defs.main-tests.source.idltest.consts.domain Maven / Gradle / Ivy
The newest version!
domain idltest.consts
data TestPair(value: i32, name: str)
const {
someInt = 1
someString = "xxx"
anotherString: XXX = """yyy"""
nested: TestPair = {
name = "test"
value = 265
}
/**
* docstring
*/
map = {
name = "test"
value = 265
}
list = [ 1 , 2 ]
anothermap = {k="x", v=1}
complexlist = [
{
name = "test"
value = 265
},
{
name = "test"
value = 265
}
[1, 2, 3]
]
typedlist: lst[TestPair] = [
{
name = "test"
value = 265
},
{
name = "test"
value = 265
}
]
typedlist1: lst[TestPair] = lst[TestPair]([
{
name = "test"
value = 265
},
{
name = "test"
value = 265
}
])
insanelist: lst[lst[TestPair]] = lst[lst[TestPair]]([
lst[TestPair]([
{
name = "test"
value = 265
},
{
name = "test"
value = 265
}
])
])
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy