Package st.gravel.support.compiler.ast

Examples of st.gravel.support.compiler.ast.VariableDeclarationNode.type()


    if (this.includesLocalName_(_anObject.variable().name())) {
      return LocalWriteNode.factory.name_value_(_anObject.variable().name(), ((Expression) VariableAccessToFieldAccessConverter.this.visit_(_anObject.value())));
    }
    _instVar = this.instVarAt_(_anObject.variable().name());
    if (_instVar != null) {
      return FieldWriteNode.factory.owner_field_type_value_(_owner, _instVar.name(), _instVar.type(), ((Expression) VariableAccessToFieldAccessConverter.this.visit_(_anObject.value())));
    }
    return GlobalWriteNode.factory.namespace_name_value_(_namespace, _anObject.variable().name(), ((Expression) this.visit_(_anObject.value())));
  }

  @Override
View Full Code Here


    if (this.includesLocalName_(_anObject.name())) {
      return LocalReadNode.factory.name_(_anObject.name());
    }
    _instVar = this.instVarAt_(_anObject.name());
    if (_instVar != null) {
      return FieldReadNode.factory.owner_field_type_(_owner, _instVar.name(), _instVar.type());
    }
    return GlobalReadNode.factory.namespace_name_(_namespace, _anObject.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.