use of org.eclipse.titan.codegenerator.experimental.LoggerVisitor in project titan.EclipsePlug-ins by eclipse.
the class AstRunnerJava method walkChildren.
private void walkChildren(ASTVisitor visitor, Object[] children) {
LoggerVisitor logger = new LoggerVisitor();
for (Object child : children) {
if (child instanceof Definitions) {
Definitions definitions = (Definitions) child;
moduleElementName = definitions.getFullName();
logToConsole("Starting processing: " + moduleElementName);
myASTVisitor.myFunctionTestCaseVisitHandler.clearEverything();
if (Boolean.parseBoolean(props.getProperty("ast.log.enabled"))) {
definitions.accept(logger);
}
definitions.accept(visitor);
logToConsole("Finished processing: " + moduleElementName);
}
}
}
use of org.eclipse.titan.codegenerator.experimental.LoggerVisitor in project titan.EclipsePlug-ins by eclipse.
the class AstWalkerJava method walkChildren.
private void walkChildren(ASTVisitor visitor, Object[] children) {
LoggerVisitor logger = new LoggerVisitor();
for (Object child : children) {
if (child instanceof Definitions) {
Definitions definitions = (Definitions) child;
moduleElementName = definitions.getFullName();
logToConsole("Starting processing: " + moduleElementName);
myASTVisitor.myFunctionTestCaseVisitHandler.clearEverything();
if (Boolean.parseBoolean(props.getProperty("ast.log.enabled"))) {
definitions.accept(logger);
}
definitions.accept(visitor);
logToConsole("Finished processing: " + moduleElementName);
}
}
}
use of org.eclipse.titan.codegenerator.experimental.LoggerVisitor in project titan.EclipsePlug-ins by eclipse.
the class AstWalkerRunnerJava method walkChildren.
private void walkChildren(ASTVisitor visitor, Object[] children) {
LoggerVisitor logger = new LoggerVisitor();
for (Object child : children) {
if (child instanceof Definitions) {
Definitions definitions = (Definitions) child;
moduleElementName = definitions.getFullName();
logToConsole("Starting processing: " + moduleElementName);
myASTVisitor.myFunctionTestCaseVisitHandler.clearEverything();
if (Boolean.parseBoolean(props.getProperty("ast.log.enabled"))) {
definitions.accept(logger);
}
definitions.accept(visitor);
logToConsole("Finished processing: " + moduleElementName);
}
}
}
Aggregations