codesimian.java
Interface JavaCodeWritingState
- All Known Implementing Classes:
- DefaultJavaCodeWritingState
public interface JavaCodeWritingState
findIncompatible
int findIncompatible(CS searchForMyIndex)
- returns the index returned by putIncompatible(CS) or -1 if its never been putIncompatible
putIncompatible
int putIncompatible(CS iCanNotBeConvertedToJavaCode)
- CS.toJavaCode should call this if it can not convert itself to java code.
Returns the parameter index that the incompatible CS will become
in the new subclass of CS that the java code creates.
countIncompatible
int countIncompatible()
javaCodeForIncompatible
java.lang.String javaCodeForIncompatible(int index,
CSCallOptions callOptions)