| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final JavaConfiguration | |
| private CommentEmitter | |
| private final PrintWriter | |
| private final boolean | |
| private final ArrayList | |
| public static final FunctionEmitter. |
| Access | Constructor and Description |
|---|---|
| public | FunctionEmitter(final PrintWriter defaultOutput, final boolean isInterface, final JavaConfiguration configuration)
Constructs the FunctionEmitter with a CommentEmitter that emits nothing. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | emit(final PrintWriter output)
Emit the function to the specified output (instead of the default output). |
| public final void | |
| protected abstract int | |
| protected abstract void | |
| protected void | |
| protected int | |
| protected abstract void | |
| protected abstract void | |
| protected void | |
| protected String | |
| public CommentEmitter | |
| protected String | |
| protected String | |
| public abstract FunctionSymbol | |
| public PrintWriter | |
| public abstract String | |
| public abstract String | |
| public Iterator | |
| public abstract String | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | setCommentEmitter(final CommentEmitter cEmitter)
Set the object that will emit the comment for this function. |
| public String |
| cfg | back to summary |
|---|---|
| protected final JavaConfiguration cfg | |
| commentEmitter | back to summary |
|---|---|
| private CommentEmitter commentEmitter | |
| defaultOutput | back to summary |
|---|---|
| private final PrintWriter defaultOutput | |
| isInterface | back to summary |
|---|---|
| private final boolean isInterface | |
| modifiers | back to summary |
|---|---|
| private final ArrayList<FunctionEmitter. | |
| STATIC | back to summary |
|---|---|
| public static final FunctionEmitter. | |
| FunctionEmitter | back to summary |
|---|---|
| public FunctionEmitter(final PrintWriter defaultOutput, final boolean isInterface, final JavaConfiguration configuration) Constructs the FunctionEmitter with a CommentEmitter that emits nothing. | |
| FunctionEmitter | back to summary |
|---|---|
| public FunctionEmitter(final FunctionEmitter arg) Makes this FunctionEmitter a copy of the passed one. | |
| addModifier | back to summary |
|---|---|
| public void addModifier(final FunctionEmitter. | |
| addModifiers | back to summary |
|---|---|
| public void addModifiers(final Iterator<FunctionEmitter. | |
| clearModifiers | back to summary |
|---|---|
| public void clearModifiers() | |
| emit | back to summary |
|---|---|
| public void emit(final PrintWriter output) Emit the function to the specified output (instead of the default output). | |
| emit | back to summary |
|---|---|
| public final void emit() Emit the function to the default output (the output that was passed to the constructor) | |
| emitArguments | back to summary |
|---|---|
| protected abstract int emitArguments(PrintWriter writer) Returns the number of arguments emitted. | |
| emitBody | back to summary |
|---|---|
| protected abstract void emitBody(PrintWriter writer) | |
| emitDocComment | back to summary |
|---|---|
| protected void emitDocComment(final PrintWriter writer) | |
| emitModifiers | back to summary |
|---|---|
| protected int emitModifiers(final PrintWriter writer) | |
| emitName | back to summary |
|---|---|
| protected abstract void emitName(PrintWriter writer) | |
| emitReturnType | back to summary |
|---|---|
| protected abstract void emitReturnType(PrintWriter writer) | |
| emitSignature | back to summary |
|---|---|
| protected void emitSignature(final PrintWriter writer) | |
| getBaseIndentString | back to summary |
|---|---|
| protected String getBaseIndentString() | |
| getCommentEmitter | back to summary |
|---|---|
| public CommentEmitter getCommentEmitter() Get the comment emitter for this FunctionEmitter. The return value may be null, in which case no comment emitter has been set. | |
| getCommentEndString | back to summary |
|---|---|
| protected String getCommentEndString() | |
| getCommentStartString | back to summary |
|---|---|
| protected String getCommentStartString() | |
| getCSymbol | back to summary |
|---|---|
| public abstract FunctionSymbol getCSymbol() | |
| getDefaultOutput | back to summary |
|---|---|
| public PrintWriter getDefaultOutput() | |
| getImplName | back to summary |
|---|---|
| public abstract String getImplName() | |
| getInterfaceName | back to summary |
|---|---|
| public abstract String getInterfaceName() | |
| getModifiers | back to summary |
|---|---|
| public Iterator | |
| getNativeName | back to summary |
|---|---|
| public abstract String getNativeName() | |
| hasModifier | back to summary |
|---|---|
| public boolean hasModifier(final FunctionEmitter. | |
| isInterface | back to summary |
|---|---|
| public boolean isInterface() | |
| removeModifier | back to summary |
|---|---|
| public boolean removeModifier(final FunctionEmitter. | |
| setCommentEmitter | back to summary |
|---|---|
| public void setCommentEmitter(final CommentEmitter cEmitter) Set the object that will emit the comment for this function. If the parameter is null, no comment will be emitted. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns, as a String, whatever
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. arg)Overrides java. |
| public int | |
| public final String |
| emittedForm | back to summary |
|---|---|
| private final String emittedForm | |
| EmissionModifier | back to summary |
|---|---|
| protected EmissionModifier(final String emittedForm) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object arg) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object. | |