Search in sources :

Example 16 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class OriginalElement method toString.

@Override
@Pure
public String toString() {
    ToStringBuilder b = new ToStringBuilder(this);
    b.add("original", this.original);
    return b.toString();
}
Also used : ToStringBuilder(org.eclipse.xtext.xbase.lib.util.ToStringBuilder) Pure(org.eclipse.xtext.xbase.lib.Pure)

Example 17 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class RuleWithParameterValues method toString.

@Override
@Pure
public String toString() {
    ToStringBuilder b = new ToStringBuilder(this);
    b.add("original", this.original);
    b.add("paramValues", this.paramValues);
    return b.toString();
}
Also used : ToStringBuilder(org.eclipse.xtext.xbase.lib.util.ToStringBuilder) Pure(org.eclipse.xtext.xbase.lib.Pure)

Example 18 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class CombinedGrammarMarker method toString.

@Override
@Pure
public String toString() {
    ToStringBuilder b = new ToStringBuilder(this);
    b.add("isCombinedGrammar", this.isCombinedGrammar);
    return b.toString();
}
Also used : ToStringBuilder(org.eclipse.xtext.xbase.lib.util.ToStringBuilder) Pure(org.eclipse.xtext.xbase.lib.Pure)

Example 19 with ToStringBuilder

use of org.eclipse.xtext.xbase.lib.util.ToStringBuilder in project xtext-core by eclipse.

the class LineAndColumn method toString.

@Override
@Pure
public String toString() {
    ToStringBuilder b = new ToStringBuilder(this);
    b.add("line", this.line);
    b.add("column", this.column);
    return b.toString();
}
Also used : ToStringBuilder(org.eclipse.xtext.xbase.lib.util.ToStringBuilder) Pure(org.eclipse.xtext.xbase.lib.Pure)

Aggregations

Pure (org.eclipse.xtext.xbase.lib.Pure)19 ToStringBuilder (org.eclipse.xtext.xbase.lib.util.ToStringBuilder)19