use of org.eclipse.xtext.generator.trace.node.TraceNode in project xtext-core by eclipse.
the class GeneratorNodeExtensions method trace.
/**
* @return a root trace node for the given location
*/
public CompositeGeneratorNode trace(final ILocationData data, final boolean useForDebugging) {
final TraceNode result = new TraceNode(data);
result.setUseForDebugging(useForDebugging);
return result;
}
use of org.eclipse.xtext.generator.trace.node.TraceNode in project xtext-core by eclipse.
the class GeneratorNodeExtensions method trace.
/**
* @return a trace node for the given location, appended as a child on the given parent
*/
public CompositeGeneratorNode trace(final CompositeGeneratorNode parent, final ILocationData data, final boolean useForDebugging) {
final TraceNode result = new TraceNode(data);
result.setUseForDebugging(useForDebugging);
List<IGeneratorNode> _children = parent.getChildren();
_children.add(result);
return result;
}
use of org.eclipse.xtext.generator.trace.node.TraceNode in project xtext-core by eclipse.
the class GeneratorNodeExtensions method trace.
/**
* @return a trace node for the given location, appended as a child on the given parent
*/
public CompositeGeneratorNode trace(final CompositeGeneratorNode parent, final ILocationData data) {
final TraceNode result = new TraceNode(data);
List<IGeneratorNode> _children = parent.getChildren();
_children.add(result);
return result;
}
Aggregations