@Override public String toString() { final StringBuffer buffer = new StringBuffer(); if (fSymbol == null) { buffer.append("__"); if (fDefault) { buffer.append('.'); } if (fCondition != null) { buffer.append(fCondition.toString()); } } else { if (fCondition == null) { buffer.append(fSymbol.toString()); buffer.append("__"); if (fDefault) { buffer.append('.'); } } else { buffer.append(fSymbol.toString()); buffer.append("__"); if (fDefault) { buffer.append('.'); } buffer.append(fCondition.toString()); } } return buffer.toString(); }
public String fullFormString() { StringBuffer buf = new StringBuffer(); if (fSymbol == null) { buf.append("BlankSequence["); if (fCondition != null) { buf.append(fCondition.fullFormString()); } buf.append(']'); } else { buf.append("PatternSequence["); buf.append(fSymbol.toString()); buf.append(", "); buf.append("BlankSequence["); if (fCondition != null) { buf.append(fCondition.fullFormString()); } buf.append("]]"); } return buf.toString(); }
String namespace; for (int i = fNamespaces.size() - 1; i >= 0; i--) { namespace = fNamespaces.get(i) + symbol.toString(); Class clazz; try {
buffer.append("\"" + fSymbol.toString() + "\""); if (fCondition != null) { buffer.append(","
/** {@inheritDoc} */ @Override public String definitionToString() throws IOException { StringWriter buf = new StringWriter(); IAST attributesList = AttributeFunctions.attributesList(this); OutputFormFactory off = OutputFormFactory.get(EvalEngine.get().isRelaxedSyntax()); off.setIgnoreNewLine(true); IAST list = definition(); buf.append("Attributes("); buf.append(this.toString()); buf.append(")="); buf.append(attributesList.toString()); buf.append("\n"); for (int i = 1; i < list.size(); i++) { off.convert(buf, list.get(i)); if (i < list.size() - 1) { buf.append("\n"); off.setColumnCounter(0); } } return buf.toString(); }
String vars = solve_get_arg_if_missing(equations); if (vars != null && err == null) { outPut = ((Symbol) F.Solve).toString() + "(" + equations.toString() + "," + vars + ")"; Log.debug(" Result after eq processing " + outPut); else var = getVarString(eVar, true); outPut = ((Symbol) F.D).toString() + "(" + fn.toString() + "," + var + ")"; else var = getVarString(eVar, true); outPut = ((Symbol) F.Integrate).toString() + "(" + fn.toString() + "," + var + ")";
engine.printMessage(toString() + " is not a variable with a value, so its value cannot be changed."); return null;
throw new WrongArgumentType(this, functionSymbol.toString() + " - Symbol: " + toString() + " has no value! Reassignment with a new value is not possible");