Package macromedia.asc.semantics

Examples of macromedia.asc.semantics.Slot


  public int ExplicitGet( Context cx, ObjectValue ob, String name, Namespaces namespaces, TypeValue type, boolean is_final, boolean is_override, int expected_id , int method_id , int var_id  )
  {
    int slot_id = ob.addMethodSlot(cx,type);
    CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineNames(cx,GET_TOKEN,name,namespaces,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

    // do backend binding

//    if( method_id >= 0 )
View Full Code Here


  public int ExplicitSet( Context cx, ObjectValue ob, String name, ObjectValue ns, TypeValue type, boolean is_final, boolean is_override, int expected_id, int method_id , int var_id )
  {
    int slot_id = ob.addMethodSlot(cx,type);
    CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineName(cx,SET_TOKEN,name,ns,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

//    if( method_id >= 0 )
    {
      Name(cx,SET_TOKEN,name,ns);
View Full Code Here

  public int ExplicitSet( Context cx, ObjectValue ob, String name, Namespaces namespaces, TypeValue type, boolean is_final, boolean is_override, int expected_id, int method_id , int var_id  )
  {
    int slot_id = ob.addMethodSlot(cx,type);
    CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineNames(cx,SET_TOKEN,name,namespaces,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

    // do backend binding

//    if( method_id >= 0 )
View Full Code Here

  {
    int slot_id = ob.addVariableSlot(cx,type,var_id);
        ob.getSlot(cx,slot_id).addType(type.getDefaultTypeInfo());
        CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineName(cx,GET_TOKEN,name,ns,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setVarIndex(-1);   // erase the var_index
    }

//    if( var_id >= 0 )
    {
      Name(cx,VAR_TOKEN,name,ns);
View Full Code Here

    int slot_id = ob.addVariableSlot(cx,type,var_id);
        ob.getSlot(cx,slot_id).addType(type.getDefaultTypeInfo());
        CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineNames(cx,GET_TOKEN,name,namespaces,slot_id);
    ob.defineNames(cx,SET_TOKEN,name,namespaces,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setVarIndex(-1);   // erase the var_index
    }

    // do backend binding

//    if( var_id >= 0 )
View Full Code Here

        int slot_id = super.ExplicitGet(cx,ob,name,namespaces,cx.functionType(),true,false,expected_id,method_id,var_id);
        ob.getSlot(cx, slot_id).setGetter(false);
        int implied_id = ob.addSlotImplicit(cx,slot_id,EMPTY_TOKEN,type)// ISSUE: clean up

    Slot slot = ob.getSlot(cx,implied_id);
        ob.getSlot(cx,implied_id).attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);
    slot.setMethodName(classname+"$"+name);
    slot.setGetter(false);
              // this isn't right

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

        // Do the backend binding

//        if( method_id >= 0 )
View Full Code Here

  public int ExplicitGet(Context cx, ObjectValue ob, String name, Namespaces namespaces, TypeValue type, boolean is_final, boolean is_override, int expected_id, int method_id, int var_id)
  {
    int slot_id = ob.addMethodSlot(cx,type);
    CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineNames(cx,GET_TOKEN,name,namespaces,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

    // do backend binding

//    if( method_id >= 0 )
View Full Code Here

  public int ExplicitSet(Context cx, ObjectValue ob, String name, ObjectValue ns, TypeValue type, boolean is_final, boolean is_override, int expected_id, int method_id, int var_id)
  {
    int slot_id = ob.addMethodSlot(cx,type);
    CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineName(cx,SET_TOKEN,name,ns,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

//    if( method_id > 0 )
    {
      Name(cx,SET_TOKEN,name,ns);
View Full Code Here

  public int ExplicitSet( Context cx, ObjectValue ob, String name, Namespaces namespaces, TypeValue type, boolean is_final, boolean is_override, int expected_id, int method_id , int var_id)
  {
    int slot_id = ob.addMethodSlot(cx,type);
    CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineNames(cx,SET_TOKEN,name,namespaces,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);
    slot.setFinal(is_final);
    slot.setOverride(is_override);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setMethodID(-1);   // erase the method_id
    }

    // do backend binding

//    if( method_id > 0 )
View Full Code Here

    int slot_id = ob.addVariableSlot(cx,type,var_id);
        ob.getSlot(cx,slot_id).addType(type.getDefaultTypeInfo());
        CHECK_SLOT_INDEX(expected_id,slot_id);
    ob.defineName(cx,GET_TOKEN,name,ns,slot_id);
    ob.defineName(cx,SET_TOKEN,name,ns,slot_id);
    Slot slot = ob.getSlot(cx,slot_id);
    slot.attrs(CALL_ThisMethod,method_id);

    if( is_intrinsic || basebui!=null && basebui.is_intrinsic )
    {
      slot.setVarIndex(-1);   // erase the var_index
    }

//    if( var_id >= 0 )
    Name(cx,VAR_TOKEN,name,ns);
    return slot_id;
View Full Code Here

TOP

Related Classes of macromedia.asc.semantics.Slot

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.