Lines Matching refs:stack
264 ContextStack stack) {
268 result = (CompoundType) makeType(classDef.getType(),classDef,stack);
332 failedConstraint(26,false,stack,"required classes");
593 protected CompoundType(ContextStack stack, int typeCode, ClassDefinition classDef) {
594 super(stack,typeCode);
655 classNotFound(stack,e);
663 protected CompoundType(ContextStack stack, ClassDefinition classDef,
665 super(stack,typeCode);
713 failedConstraint(7,false,stack,id.toString(),e.getMessage());
724 ContextStack stack,
747 failedConstraint(13,quiet,stack,getQualifiedName(),e.getMessage());
765 members[i].init(stack,this);
778 failedConstraint(constraint,quiet,stack,getQualifiedName(),e.getMessage());
800 ContextStack stack) {
802 if (stack.anyErrors()) return null;
808 Type result = getType(key,stack);
816 result = getType(key + stack.getContextCodeString(),stack);
824 BatchEnvironment env = stack.getEnv();
838 result = PrimitiveType.forPrimitive(theType,stack);
846 result = ArrayType.forArray(theType,stack);
867 result = SpecialInterfaceType.forSpecial(theClass,stack);
878 boolean parentIsValue = stack.isParentAValue();
879 result = RemoteType.forRemote(theClass,stack,parentIsValue);
885 result = NCInterfaceType.forNCInterface(theClass,stack);
891 result = AbstractType.forAbstract(theClass,stack,true);
897 result = NCInterfaceType.forNCInterface(theClass,stack);
905 result = SpecialClassType.forSpecial(theClass,stack);
918 boolean parentIsValue = stack.isParentAValue();
919 result = ImplementationType.forImplementation(theClass,stack,parentIsValue);
925 result = NCClassType.forNCClass(theClass,stack);
936 result = ValueType.forValue(theClass,stack,true);
943 result = NCClassType.forNCClass(theClass,stack);
949 classNotFound(stack,e);
1008 failedConstraint(5,quiet,stack,method.getEnclosing(), method.toString());
1035 failedConstraint(18,quiet,stack,method.getEnclosing(), method.toString());
1192 failedConstraint(3,false,stack,member.getClassDefinition(),member.getName());
1200 failedConstraint(3,false,stack,member.getClassDefinition(),member.getName());
1221 * @param stack the context stack.
1227 ContextStack stack)
1255 method = new Method((CompoundType)this,member,quiet,stack);
1292 * @param stack the context stack.
1298 ContextStack stack)
1314 noMultiInheritedMethods,quiet,stack);
1335 method = new Method((CompoundType)this,member,quiet,stack);
1355 !stack.isParentAValue() && !stack.getContext().isValue()) {
1373 failedConstraint(6,quiet,stack,classDef,message,method);
1426 ContextStack stack) throws ClassNotFound {
1433 stack.setNewContextCode(ContextStack.IMPLEMENTS);
1441 InterfaceType it = SpecialInterfaceType.forSpecial(def,stack);;
1451 it = RemoteType.forRemote(def,stack,false);
1457 it = AbstractType.forAbstract(def,stack,true);
1463 it = NCInterfaceType.forNCInterface(def,stack);
1483 ContextStack stack) throws ClassNotFound {
1490 stack.setNewContextCode(ContextStack.IMPLEMENTS);
1498 InterfaceType it = SpecialInterfaceType.forSpecial(def,stack);
1504 it = AbstractType.forAbstract(def,stack,true);
1510 it = NCInterfaceType.forNCInterface(def,stack);
1532 ContextStack stack) {
1574 failedConstraint(3,quiet,stack,member.getClassDefinition(),member.getName());
1583 Member newMember = new Member(member,value,stack,this);
1590 classNotFound(stack,e);
1604 ContextStack stack) {
1639 failedConstraint(3,quiet,stack,member.getClassDefinition(),member.getName());
1647 Member newMember = new Member(member,value,stack,this);
1654 classNotFound(stack,e);
1665 ContextStack stack) throws Exception {
1668 stack.setNewContextCode(ContextStack.METHOD_EXCEPTION);
1676 ValueType type = ValueType.forValue(theClass,stack,false);
1683 failedConstraint(22,quiet,stack,getQualifiedName());
1686 failedConstraint(23,quiet,stack,getQualifiedName());
1691 classNotFound(quiet,stack,e);
1758 ContextStack stack,
1764 failedConstraint(constraint,quiet,stack,type,enclosing.getName());
2078 classNotFound(stack,e); // Report error but do not stop.
2127 classNotFound(stack,e); // Report error but do not stop.
2352 ContextStack stack) throws Exception {
2367 stack.setNewContextCode(ContextStack.METHOD);
2368 stack.push(this);
2372 stack.setNewContextCode(ContextStack.METHOD_RETURN);
2377 returnType = PrimitiveType.forPrimitive(rtnType,stack);
2379 returnType = makeType(rtnType,null,stack);
2381 !assertNotImpl(returnType,quiet,stack,enclosing,false)) {
2383 failedConstraint(24,quiet,stack,enclosing.getName());
2389 stack.setNewContextCode(ContextStack.METHOD_ARGUMENT);
2398 type = makeType(args[i],null,stack);
2403 if (!assertNotImpl(type,quiet,stack,enclosing,false)) {
2416 failedConstraint(25,false,stack,enclosing.getQualifiedName(),name);
2421 stack.pop(false);
2428 exceptions = enclosing.getMethodExceptions(memberDef,quiet,stack);
2430 stack.pop(true);
2432 stack.pop(false);
2609 ContextStack stack,
2621 init (stack,enclosing);
2625 public void init (ContextStack stack, CompoundType enclosing) {
2632 // Add self to stack...
2635 stack.setNewContextCode(contextCode);
2650 stack.setNewContextCode(contextCode);
2651 stack.push(this);
2653 type = makeType(member.getType(),null,stack);
2659 !assertNotImpl(type,false,stack,enclosing,true))) {
2660 stack.pop(false);
2680 stack.pop(true);