Example usage for org.eclipse.jdt.core.dom WhileStatement getNodeType

List of usage examples for org.eclipse.jdt.core.dom WhileStatement getNodeType

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom WhileStatement getNodeType.

Prototype

public final int getNodeType() 

Source Link

Document

Returns an integer value identifying the type of this concrete AST node.

Usage

From source file:simpack.util.tree.visitor.ast.JavaASTStructureTransformer.java

License:LGPL

public boolean visit(WhileStatement node) {
    push(node.getNodeType(), node.getExpression().toString());
    increaseLevel();
    return true;
}