Example usage for org.antlr.v4.runtime.tree Tree getParent

List of usage examples for org.antlr.v4.runtime.tree Tree getParent

Introduction

In this page you can find the example usage for org.antlr.v4.runtime.tree Tree getParent.

Prototype

Tree getParent();

Source Link

Document

The parent of this node.

Usage

From source file:raven.sqdev.ui.util.TreeLayoutAdaptor.java

License:BSD License

@Override
public boolean isChildOfParent(Tree node, Tree parentNode) {
    return node.getParent() == parentNode;
}