Package railo.transformer.bytecode.expression.var

Examples of railo.transformer.bytecode.expression.var.DataMember


    else throw new BytecodeException("type from catch statement is invalid",type.getStart());
   
    // name
    if(name instanceof LitString){
      Variable v = new Variable(Scope.SCOPE_UNDEFINED,name.getStart(),name.getEnd());
      v.addMember(new DataMember(name));
      name=new VariableRef(v);
    }
    else if(name instanceof Variable) name=new VariableRef((Variable) name);
    else throw new BytecodeException("name from catch statement is invalid",name.getStart());
   
View Full Code Here


    Variable var = scope(data,name,line);
    if(var!=null) return var;
   
    // undefined variable
    var=new Variable(line,data.cfml.getPosition());
    var.addMember(new DataMember(name));

        comments(data);
    return var;
   
  }
View Full Code Here

    else if (idStr.equals("VAR")) {
      Identifier _id = identifier(data,false,true);
      if(_id!=null){
        comments(data);
        Variable local = new Variable(ScopeSupport.SCOPE_VAR,line,data.cfml.getPosition());
        if(!"LOCAL".equalsIgnoreCase(_id.getString()))local.addMember(new DataMember(_id));
        else {
          local.ignoredFirstMember(true);
        }
        return local;
      }
View Full Code Here

        if(nameProp==null && name!=null)nameProp=Identifier.toIdentifier(name, Identifier.CASE_ORIGNAL,null,null);// properly this is never used
        invoker.addMember(getFunctionMember(data,nameProp, false));
      }
     
      // property
      else invoker.addMember(new DataMember(namePropUC));
     
    }
   
    return expr; 
  }
View Full Code Here

    return Types.OBJECT;
  }

  public Variable toVariable() {
    Variable v = new Variable(Scope.SCOPE_UNDEFINED,getStart(),getEnd());
    v.addMember(new DataMember(LitString.toExprString("null")));
    return v;
  }
View Full Code Here

TOP

Related Classes of railo.transformer.bytecode.expression.var.DataMember

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.