Skip to content

Commit

Permalink
[Truffle] Standardise OM DSL parameter names.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Feb 23, 2016
1 parent 71366af commit 831ed5d
Showing 17 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -28,6 +28,6 @@ DynamicObject createEncodingConverter(DynamicObjectFactory factory,
boolean isEncodingConverter(DynamicObject object);

EConv getEconv(DynamicObject object);
void setEconv(DynamicObject object, EConv econv);
void setEconv(DynamicObject object, EConv value);

}
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ DynamicObject createEncoding(DynamicObjectFactory factory,
boolean isEncoding(Object object);

Encoding getEncoding(DynamicObject object);
void setEncoding(DynamicObject object, Encoding encoding);
void setEncoding(DynamicObject object, Encoding value);

ByteList getName(DynamicObject object);

Original file line number Diff line number Diff line change
@@ -29,9 +29,9 @@ DynamicObject createException(DynamicObjectFactory factory,
boolean isException(DynamicObject object);

Object getMessage(DynamicObject object);
void setMessage(DynamicObject object, Object message);
void setMessage(DynamicObject object, Object value);

Backtrace getBacktrace(DynamicObject object);
void setBacktrace(DynamicObject object, Backtrace backtrace);
void setBacktrace(DynamicObject object, Backtrace value);

}
Original file line number Diff line number Diff line change
@@ -45,12 +45,12 @@ DynamicObject createFiber(DynamicObjectFactory factory,
DynamicObject getRubyThread(DynamicObject object);

DynamicObject getLastResumedByFiber(DynamicObject object);
void setLastResumedByFiber(DynamicObject object, DynamicObject lastResumedByFiber);
void setLastResumedByFiber(DynamicObject object, DynamicObject value);

boolean getAlive(DynamicObject object);
void setAlive(DynamicObject object, boolean alive);
void setAlive(DynamicObject object, boolean value);

Thread getThread(DynamicObject object);
void setThread(DynamicObject object, Thread thread);
void setThread(DynamicObject object, Thread value);

}
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ DynamicObjectFactory createClassShape(DynamicObject logicalClass,
DynamicObject metaClass);

DynamicObject createClass(DynamicObjectFactory factory,
ModuleFields model,
ModuleFields fields,
boolean isSingleton,
@Nullable DynamicObject attached,
@Nullable DynamicObjectFactory instanceFactory);
@@ -36,6 +36,6 @@ DynamicObject createClass(DynamicObjectFactory factory,
DynamicObject getAttached(DynamicObject object);

DynamicObjectFactory getInstanceFactory(DynamicObject object);
void setInstanceFactoryUnsafe(DynamicObject object, DynamicObjectFactory instanceFactory);
void setInstanceFactoryUnsafe(DynamicObject object, DynamicObjectFactory value);

}
Original file line number Diff line number Diff line change
@@ -28,6 +28,6 @@ DynamicObject createModule(DynamicObjectFactory factory,

ModuleFields getFields(DynamicObject object);

void setFields(DynamicObject object, ModuleFields model);
void setFields(DynamicObject object, ModuleFields value);

}
Original file line number Diff line number Diff line change
@@ -25,6 +25,6 @@ DynamicObject createSizedQueue(DynamicObjectFactory factory,
@Nullable ArrayBlockingQueueLocksConditions<Object> queue);

ArrayBlockingQueueLocksConditions<Object> getQueue(DynamicObject object);
void setQueue(DynamicObject object, ArrayBlockingQueueLocksConditions<Object> queue);
void setQueue(DynamicObject object, ArrayBlockingQueueLocksConditions<Object> value);

}
Original file line number Diff line number Diff line change
@@ -49,9 +49,9 @@ DynamicObject createMatchData(DynamicObjectFactory factory,
int getEnd(DynamicObject object);

Region getCharOffsets(DynamicObject object);
void setCharOffsets(DynamicObject object, Region charOffsets);
void setCharOffsets(DynamicObject object, Region value);

Object getFullTuple(DynamicObject object);
void setFullTuple(DynamicObject object, Object fullTuple);
void setFullTuple(DynamicObject object, Object value);

}
Original file line number Diff line number Diff line change
@@ -27,6 +27,6 @@ DynamicObject createPointer(DynamicObjectFactory factory,
boolean isPointer(DynamicObject object);

Pointer getPointer(DynamicObject object);
void setPointer(DynamicObject object, Pointer pointer);
void setPointer(DynamicObject object, Pointer value);

}
Original file line number Diff line number Diff line change
@@ -25,6 +25,6 @@ DynamicObject createRandomizer(DynamicObjectFactory factory,
Random random);

Random getRandom(DynamicObject object);
void setRandom(DynamicObject object, Random random);
void setRandom(DynamicObject object, Random value);

}
Original file line number Diff line number Diff line change
@@ -26,6 +26,6 @@ DynamicObject createWeakRef(DynamicObjectFactory factory,
WeakReference<Object> reference);

WeakReference<Object> getReference(DynamicObject object);
void setReference(DynamicObject object, WeakReference<Object> reference);
void setReference(DynamicObject object, WeakReference<Object> value);

}
Original file line number Diff line number Diff line change
@@ -28,13 +28,13 @@ DynamicObject createString(DynamicObjectFactory factory,
@Nullable DynamicObject rubiniusDataArray);

boolean isString(ObjectType objectType);
boolean isString(DynamicObject dynamicObject);
boolean isString(Object dynamicObject);
boolean isString(DynamicObject object);
boolean isString(Object object);

Rope getRope(DynamicObject object);
void setRope(DynamicObject object, Rope rope);
void setRope(DynamicObject object, Rope value);

DynamicObject getRubiniusDataArray(DynamicObject object);
void setRubiniusDataArray(DynamicObject object, DynamicObject rubiniusDataArray);
void setRubiniusDataArray(DynamicObject object, DynamicObject value);

}
Original file line number Diff line number Diff line change
@@ -37,6 +37,6 @@ DynamicObject createSymbol(DynamicObjectFactory factory,
int getHashCode(DynamicObject object);

SymbolCodeRangeableWrapper getCodeRangeableWrapper(DynamicObject object);
void setCodeRangeableWrapper(DynamicObject object, SymbolCodeRangeableWrapper codeRangeableWrapper);
void setCodeRangeableWrapper(DynamicObject object, SymbolCodeRangeableWrapper value);

}
Original file line number Diff line number Diff line change
@@ -50,10 +50,10 @@ DynamicObject createThread(DynamicObjectFactory factory,
boolean isThread(DynamicObject object);

FiberManager getFiberManager(DynamicObject object);
void setFiberManagerUnsafe(DynamicObject object, FiberManager fiberManager);
void setFiberManagerUnsafe(DynamicObject object, FiberManager value);

String getName(DynamicObject object);
void setNameUnsafe(DynamicObject object, String name);
void setNameUnsafe(DynamicObject object, String value);

CountDownLatch getFinishedLatch(DynamicObject object);

@@ -62,19 +62,19 @@ DynamicObject createThread(DynamicObjectFactory factory,
List<Lock> getOwnedLocks(DynamicObject object);

boolean getAbortOnException(DynamicObject object);
void setAbortOnException(DynamicObject object, boolean abortOnException);
void setAbortOnException(DynamicObject object, boolean value);

InterruptMode getInterruptMode(DynamicObject object);
void setInterruptMode(DynamicObject object, InterruptMode interruptMode);
void setInterruptMode(DynamicObject object, InterruptMode value);

Thread getThread(DynamicObject object);
void setThread(DynamicObject object, Thread thread);
void setThread(DynamicObject object, Thread value);

RubyThread.Status getStatus(DynamicObject object);
void setStatus(DynamicObject object, RubyThread.Status status);
void setStatus(DynamicObject object, RubyThread.Status value);

DynamicObject getException(DynamicObject object);
void setException(DynamicObject object, DynamicObject exception);
void setException(DynamicObject object, DynamicObject value);

Object getValue(DynamicObject object);
void setValue(DynamicObject object, Object value);
Original file line number Diff line number Diff line change
@@ -32,6 +32,6 @@ DynamicObject createBigDecimal(DynamicObjectFactory factory,
void setValue(DynamicObject object, BigDecimal value);

BigDecimalNodes.Type getType(DynamicObject object);
void setType(DynamicObject object, BigDecimalNodes.Type type);
void setType(DynamicObject object, BigDecimalNodes.Type value);

}
Original file line number Diff line number Diff line change
@@ -31,12 +31,12 @@ DynamicObject createEmitter(DynamicObjectFactory factory,
boolean isEmitter(DynamicObject object);

Emitter getEmitter(DynamicObject object);
void setEmitter(DynamicObject object, Emitter emitter);
void setEmitter(DynamicObject object, Emitter value);

DumperOptions getOptions(DynamicObject object);
void setOptions(DynamicObject object, DumperOptions options);
void setOptions(DynamicObject object, DumperOptions value);

Object getIo(DynamicObject object);
void setIo(DynamicObject object, Object io);
void setIo(DynamicObject object, Object value);

}
Original file line number Diff line number Diff line change
@@ -30,9 +30,9 @@ DynamicObject createParser(DynamicObjectFactory factory,
boolean isParser(DynamicObject object);

Parser getParser(DynamicObject object);
void setParser(DynamicObject object, Parser parser);
void setParser(DynamicObject object, Parser value);

Event getEvent(DynamicObject object);
void setEvent(DynamicObject object, Event event);
void setEvent(DynamicObject object, Event value);

}

0 comments on commit 831ed5d

Please sign in to comment.