Java org.eclipse.jdt.core.dom StringLiteral fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom StringLiteral fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom StringLiteral.

The text is from its open source code.

Field

SimplePropertyDescriptorESCAPED_VALUE_PROPERTY
The "escapedValue" structural property of this node type (type: String ).

Constructor

StringLiteral(AST ast)
Creates a new unparented string literal node owned by the given AST.

Method

ASTgetAST()
Returns this node's AST.
StringgetEscapedValue()
Returns the string value of this literal node to the given string literal token.
intgetLength()
Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends.
StringgetLiteralValue()
Returns the value of this literal node.
StructuralPropertyDescriptorgetLocationInParent()
Returns the location of this node within its parent, or null if this is a root node.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
ASTNodegetRoot()
Returns the root node at or above this node; returns this node if it is a root.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
voidinternalSetEscapedValue(String token)
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetEscapedValue(String token)
Sets the string value of this literal node to the given string literal token.
voidsetLiteralValue(String value)
Sets the value of this literal node.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.