Package org.eclipse.php.internal.core.compiler.ast.nodes

Examples of org.eclipse.php.internal.core.compiler.ast.nodes.ConstantDeclaration


    }
    if (!(node instanceof IPHPDocAwareDeclaration)) {
      return null;
    }
    if (node instanceof ConstantDeclaration) {
      ConstantDeclaration constantDeclaration = (ConstantDeclaration) node;
      if (constantDeclaration.getConstantValue() instanceof Scalar) {
        Scalar scalar = (Scalar) constantDeclaration.getConstantValue();
        return scalar.getValue();
      }
    }
    return null;
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.compiler.ast.nodes.ConstantDeclaration

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.