|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.eclipse.jdt.internal.compiler.ast.Statement
org.eclipse.jdt.internal.compiler.ast.Expression
org.eclipse.jdt.internal.compiler.ast.Literal
org.eclipse.jdt.internal.compiler.ast.StringLiteral
org.eclipse.jdt.internal.compiler.ast.StringLiteralConcatenation
public class StringLiteralConcatenation
Flatten string literal
Field Summary | |
---|---|
int |
counter
|
Expression[] |
literals
|
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Expression |
---|
constant, implicitConversion, resolvedType, statementEnd |
Constructor Summary | |
---|---|
StringLiteralConcatenation(StringLiteral str1,
StringLiteral str2)
Build a two-strings literal |
Method Summary | |
---|---|
StringLiteralConcatenation |
extendsWith(StringLiteral lit)
Add the lit source to mine, just as if it was mine |
java.lang.StringBuffer |
printExpression(int indent,
java.lang.StringBuffer output)
|
char[] |
source()
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.StringLiteral |
---|
computeConstant, extendWith, extendWith, generateCode, literalType |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Literal |
---|
analyseCode, resolveType |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, isValidJavaStatement, resolveCase |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ASTNode |
---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Expression[] literals
public int counter
Constructor Detail |
---|
public StringLiteralConcatenation(StringLiteral str1, StringLiteral str2)
Method Detail |
---|
public StringLiteralConcatenation extendsWith(StringLiteral lit)
extendsWith
in class StringLiteral
public java.lang.StringBuffer printExpression(int indent, java.lang.StringBuffer output)
printExpression
in class StringLiteral
public char[] source()
source
in class StringLiteral
public void traverse(ASTVisitor visitor, BlockScope scope)
traverse
in class StringLiteral
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |