Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/generator/NodeGenFactory.java @ 19282:ae81dd154fb6
Truffle-DSL: remove old DSL layout; Make new layout the default.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 22 Jan 2015 20:44:24 +0100 |
parents | 121748e43a01 |
children | 08aa0372dad4 |
comparison
equal
deleted
inserted
replaced
19281:92880b0f7fed | 19282:ae81dd154fb6 |
---|---|
181 method.createBuilder().startReturn().string("this.").string(field.getName()).end(); | 181 method.createBuilder().startReturn().string("this.").string(field.getName()).end(); |
182 clazz.add(method); | 182 clazz.add(method); |
183 } | 183 } |
184 } | 184 } |
185 | 185 |
186 for (ExecutableElement superConstructor : NodeBaseFactory.findUserConstructors(node.getTemplateType().asType())) { | 186 for (ExecutableElement superConstructor : GeneratorUtils.findUserConstructors(node.getTemplateType().asType())) { |
187 clazz.add(createNodeConstructor(clazz, superConstructor)); | 187 clazz.add(createNodeConstructor(clazz, superConstructor)); |
188 } | 188 } |
189 | 189 |
190 for (NodeExecutionData execution : node.getChildExecutions()) { | 190 for (NodeExecutionData execution : node.getChildExecutions()) { |
191 clazz.add(createNodeField(PRIVATE, execution.getNodeType(), nodeFieldName(execution), Child.class)); | 191 clazz.add(createNodeField(PRIVATE, execution.getNodeType(), nodeFieldName(execution), Child.class)); |