Package org.apache.etch.compiler.ast

Examples of org.apache.etch.compiler.ast.Constant


      // it's a named thing, it is a constant and do the
      // types match?
     
      if (named.isConstant())
      {
        Constant c = (Constant) named;
       
        // it's a constant, do the types match?
       
        Named<?> ct = c.type().getNamed( msg.parent() );
        Named<?> paramType = param.type().getNamed( msg.parent() );
        if (ct == paramType)
          return;
       
        throw typeMismatch( param, arg, argNo );
View Full Code Here

TOP

Related Classes of org.apache.etch.compiler.ast.Constant

Copyright © 2018 www.massapicom. 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.