|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Literal
org.aspectj.org.eclipse.jdt.internal.compiler.ast.StringLiteral
org.aspectj.org.eclipse.jdt.internal.compiler.ast.StringLiteralConcatenation
public class StringLiteralConcatenation
Flatten string literal
| Field Summary | |
|---|---|
int |
counter
|
Expression[] |
literals
|
| Fields inherited from class org.aspectj.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)
Traverse an expression in the context of a blockScope |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.StringLiteral |
|---|
computeConstant, extendWith, extendWith, generateCode, literalType |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Literal |
|---|
analyseCode, resolveType |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression |
|---|
analyseCode, checkCastTypesCompatibility, checkNPE, checkUnsafeCast, computeConversion, generateCode, generateOptimizedBoolean, generateOptimizedStringConcatenation, generateOptimizedStringConcatenationCreation, isCompactableOperation, isConstantValueOfTypeAssignableToType, isConstantValueRepresentable, isTypeReference, localVariableBinding, markAsNonNull, nullStatus, optimizedBooleanConstant, postConversionType, print, printStatement, resolve, resolveType, resolveTypeExpecting, reusableJSRTarget, setExpectedType, tagAsNeedCheckCast, tagAsUnnecessaryCast, toTypeReference, traverse |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, isValidJavaStatement, resolveCase |
| Methods inherited from class org.aspectj.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 StringLiteralpublic char[] source()
source in class StringLiteral
public void traverse(ASTVisitor visitor,
BlockScope scope)
Expression
traverse in class StringLiteral
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||