Package ptolemy.data.type

Examples of ptolemy.data.type.Type.zero()


    public void visitUnaryNode(ASTPtUnaryNode node)
            throws IllegalActionException {
        Type[] childTypes = _inferAllChildren(node);
        Type baseType = childTypes[0];
        if (node.isMinus()) {
            _setType(node, baseType.zero().subtract(baseType));
        } else {
            _setType(node, baseType);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.