Searched refs:enumValueDescriptor (Results 1 – 2 of 2) sorted by relevance
133 for (Descriptors.EnumValueDescriptor enumValueDescriptor : descriptor.getValues()) { in each()134 block.yield(context, runtime.newArray(runtime.newSymbol(enumValueDescriptor.getName()), in each()135 runtime.newFixnum(enumValueDescriptor.getNumber()))); in each()
567 … Descriptors.EnumValueDescriptor enumValueDescriptor = (Descriptors.EnumValueDescriptor) value; in wrapField() local568 if (enumValueDescriptor.getIndex() == -1) { // UNKNOWN ENUM VALUE in wrapField()569 return runtime.newFixnum(enumValueDescriptor.getNumber()); in wrapField()571 return runtime.newSymbol(enumValueDescriptor.getName()); in wrapField()