Package com.aptana.shared_core.string

Examples of com.aptana.shared_core.string.FastStringBuffer.appendObject()


        buffer.append("Found { (used:");
        buffer.append(used);
        buffer.append(") [");

        for (GenAndTok g : found) {
            buffer.appendObject(g);
            buffer.append("  ");
        }
        buffer.append(" ]}");
        return buffer.toString();
    }
View Full Code Here


    public String toString() {
        FastStringBuffer buffer = new FastStringBuffer();
        buffer.append("Scope: ");
        for (ScopeItems item : scope) {
            buffer.append("\n");
            buffer.appendObject(item);

        }
        return buffer.toString();
    }
View Full Code Here

    private void traceFunc(String func, Object... args) {
        if (TRACE_PYTHON_NATURE_STORE) {
            FastStringBuffer buf = new FastStringBuffer(func, 128);
            for (Object o : args) {
                buf.appendObject(o);
            }
            func = buf.toString();
            if (!func.startsWith("END ")) {
                System.out.println(indent + func);
                indent.append("  ");
View Full Code Here

    @Override
    public String toString() {
        FastStringBuffer buffer = new FastStringBuffer();
        buffer.append("Tuple [");
        buffer.appendObject(o1);
        buffer.append(" -- ");
        buffer.appendObject(o2);
        buffer.append("]");
        return buffer.toString();
    }
View Full Code Here

    public String toString() {
        FastStringBuffer buffer = new FastStringBuffer();
        buffer.append("Tuple [");
        buffer.appendObject(o1);
        buffer.append(" -- ");
        buffer.appendObject(o2);
        buffer.append("]");
        return buffer.toString();
    }
}
View Full Code Here

    @Override
    public String toString() {
        FastStringBuffer buffer = new FastStringBuffer();
        buffer.append("CompletionRequest[");
        buffer.append(" editorFile:");
        buffer.appendObject(editorFile);
        buffer.append(" activationToken:");
        buffer.append(activationToken);
        buffer.append(" qualifier:");
        buffer.append(qualifier);
        buffer.append(" isInCalltip:");
View Full Code Here

        if (this.stringSubstitutionVariables != null && this.stringSubstitutionVariables.size() > 0) {
            Set<Entry<Object, Object>> entrySet = this.stringSubstitutionVariables.entrySet();
            for (Entry<Object, Object> entry : entrySet) {
                buffer.append("<string_substitution_var>");
                buffer.append("<key>");
                buffer.appendObject(entry.getKey());
                buffer.append("</key>");
                buffer.append("<value>");
                buffer.appendObject(entry.getValue());
                buffer.append("</value>");
                buffer.append("</string_substitution_var>\n");
View Full Code Here

                buffer.append("<string_substitution_var>");
                buffer.append("<key>");
                buffer.appendObject(entry.getKey());
                buffer.append("</key>");
                buffer.append("<value>");
                buffer.appendObject(entry.getValue());
                buffer.append("</value>");
                buffer.append("</string_substitution_var>\n");
            }
        }
View Full Code Here

            for (MarkerAnnotationAndPosition marker : s.getMarkersAtLine(lineNumber, null)) {
                try {
                    if (buf.length() > 0) {
                        buf.append("\n");
                    }
                    buf.appendObject(marker.markerAnnotation.getMarker().getAttribute(IMarker.MESSAGE));
                } catch (CoreException e) {
                    Log.log(e);
                }
            }
View Full Code Here

    @Override
    public String toString() {
        if (file != null) {
            FastStringBuffer ret = new FastStringBuffer(name, 40);
            ret.append(" - ");
            ret.appendObject(file);
            return ret.toString();
        }
        return name;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.