Examples of Name


Examples of org.mozilla.javascript.ast.Name

                        return false;
                    }
                }
               
            } else if (node instanceof Name) {
                Name name = (Name)node;               
                String propertyName = name.toSource();
                boolean result = lookupProperty(propertyName);
                if (result) {
                    return false;
                }
            } else if (node instanceof ExpressionStatement) {
View Full Code Here

Examples of org.nutz.dao.entity.annotation.Name

        ef.setType(FieldType.ID);
      }
    }

    // @Name
    Name name = field.getAnnotation(Name.class);
    if (null != name) {
      // Check
      if (!ef.getMirror().isStringLike())
        throw error(entity, "@Name field [%s] must be a String!", field.getName());
      // Not null
      ef.setNotNull(true);
      // Set Name
      if (name.casesensitive())
        ef.setType(FieldType.CASESENSITIVE_NAME);
      else
        ef.setType(FieldType.NAME);
    }
View Full Code Here

Examples of org.omegahat.Environment.Parser.Parse.Name

*/
public String evalMethod(String objKey, String methodName, String[] argumentKeys, String resultKey)
  throws Throwable
{
ExpressionInt expr = null;
    expr = new MethodCall(new Name(objKey), methodName, argsToList(argumentKeys));
if(resultKey != null) {
   expr = new AssignExpression(new Name(resultKey), expr);
}

  return(eval(resultKey, expr));
}
View Full Code Here

Examples of org.opengis.feature.type.Name

  public URI getSchema() {
    SimpleFeatureType ft = getFeatureType();
    if (ft == null) return null;
   
    try {
      Name typeName = ft.getName();
      if (typeName.getNamespaceURI() != null) {
        return new URI(ft.getName().getNamespaceURI());
      } else {
        return null; // should probably be GML?
      }
    } catch (URISyntaxException e) {
View Full Code Here

Examples of org.openntf.domino.Name

      for (Form form : forms) {
        // System.out.println("Form : " + form.getName() + " (" + DominoUtils.getUnidFromNotesUrl(form.getNotesURL()) + ")");
        Document d = form.getDocument();
        Vector v = d.getItemValue("$UpdatedBy");

        Name n = db.getParent().createName((String) v.get(0));
        String cn = n.getCommon();
        nameCount++;
        docCount++;
        // System.out.println("Last Editor: " + n);
      }
      System.out.println("ENDING ITERATION of Forms");
View Full Code Here

Examples of org.python.antlr.ast.Name

            PyObject testObject = ((If) callNodes[0]).getTest();
            if (testObject instanceof Call) {
                Call test = (Call) testObject;
                PyObject functionObject = test.getFunc();
                if (functionObject instanceof Name) {
                    Name funcName = (Name) functionObject;
                    if (funcName.getInternalId().equals("window")) {
                        expr windowNameObject = test.getInternalArgs().get(0);
                        if (windowNameObject instanceof Str) {
                            String windowName = ((Str) windowNameObject).getS().toString();
                            return windowName;
                        }
View Full Code Here

Examples of org.python.parser.ast.Name

            }
            code.invokespecial(mrefs.PyFunction_closure_init);

        }

        set(new Name(node.name, Name.Store, node));
        return null;
    }
View Full Code Here

Examples of org.python.pydev.parser.jython.ast.Name

    protected void onVisitCallFunc(final Call callNode) throws Exception {
        if (!analyzeArgumentsMismatch) {
            super.onVisitCallFunc(callNode);
        } else {
            if (callNode.func instanceof Name) {
                Name name = (Name) callNode.func;
                startRecordFound();
                visitName(name);

                //Check if the name was actually found in some way...
                TokenFoundStructure found = popFound();
View Full Code Here

Examples of org.qi4j.api.constraint.Name

        boolean constrained = false;
        for( int i = 0; i < parameterAnnotations.length; i++ )
        {
            Annotation[] parameterAnnotation = parameterAnnotations[i];

            Name nameAnnotation = (Name) Iterables.first( Iterables.filter( isType( Name.class ), iterable( parameterAnnotation ) ) );
            String name = nameAnnotation == null ? "param" + (i + 1) : nameAnnotation.value();

            boolean optional = Iterables.first( Iterables.filter( isType( Optional.class ), iterable( parameterAnnotation ) ) ) != null;
            ValueConstraintsModel parameterConstraintsModel = constraintsFor( Arrays.asList( parameterAnnotation ), parameterTypes[i], name, optional, constraintClasses, method);
            if( parameterConstraintsModel.isConstrained() )
            {
View Full Code Here

Examples of org.rascalmpl.ast.Name

      __eval.setCurrentAST(this);
      __eval.notifyAboutSuspension(this);   
      __eval.warning("Var* is deprecated, use *Var or *Type Var instead", this.getLocation());
      System.err.println(this.getLocation() + ": Var* is deprecated, use *Var instead");
     
      Name name = this.getName();
      Result<IValue> variable = __eval.getCurrentEnvt().getVariable(name);

      if (variable == null) {
        throw new UndeclaredVariable(
            org.rascalmpl.interpreter.utils.Names.name(name), name);
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.