Example usage for org.eclipse.jdt.core.dom PrefixExpression toString

List of usage examples for org.eclipse.jdt.core.dom PrefixExpression toString

Introduction

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

Prototype

@Override
public final String toString() 

Source Link

Document

Returns a string representation of this node suitable for debugging purposes only.

Usage

From source file:org.emftext.language.java.test.TalkativeASTMatcher.java

License:Open Source License

@Override
public boolean match(PrefixExpression node, Object other) {

    if (other instanceof NumberLiteral) {
        String nToken = node.toString();
        String oToken = ((NumberLiteral) other).getToken();
        return setDiff(node, other, numberMatch(nToken, oToken));
    } else {//from w  ww. ja v a  2  s .  co m
        return setDiff(node, other, super.match(node, other));
    }

}