Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ElementDeclaration (String name, String kind, int fileIndex, int offset, int line, int column, int codeOffset, int codeLength, String className, String mixinName, String parameters) | |
boolean | equals (Object obj) |
String | getClassName () |
int | getCodeLength () |
int | getCodeOffset () |
int | getColumn () |
int | getFileIndex () |
String | getKind () |
int | getLine () |
String | getMixinName () |
String | getName () |
int | getOffset () |
String | getParameters () |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Static Public Member Functions | |
static ElementDeclaration | fromJson (JsonObject jsonObject) |
static List< ElementDeclaration > | fromJsonArray (JsonArray jsonArray) |
Static Public Attributes | |
static final ElementDeclaration[] | EMPTY_ARRAY = new ElementDeclaration[0] |
static final List< ElementDeclaration > | EMPTY_LIST = Lists.newArrayList() |
A declaration - top-level (class, field, etc) or a class member (method, field, etc).
@coverage dart.server.generated.types
Definition at line 32 of file ElementDeclaration.java.
|
inline |
Constructor for ElementDeclaration
.
Definition at line 102 of file ElementDeclaration.java.
|
inline |
Definition at line 117 of file ElementDeclaration.java.
|
inlinestatic |
Definition at line 136 of file ElementDeclaration.java.
|
inlinestatic |
Definition at line 151 of file ElementDeclaration.java.
|
inline |
The name of the class enclosing this declaration. If the declaration is not a class member, this field will be absent.
Definition at line 167 of file ElementDeclaration.java.
|
inline |
The length of the declaration code in the file.
Definition at line 174 of file ElementDeclaration.java.
|
inline |
The offset of the first character of the declaration code in the file.
Definition at line 181 of file ElementDeclaration.java.
|
inline |
The one-based index of the column containing the declaration name.
Definition at line 188 of file ElementDeclaration.java.
|
inline |
The index of the file (in the enclosing response).
Definition at line 195 of file ElementDeclaration.java.
|
inline |
The kind of the element that corresponds to the declaration.
Definition at line 202 of file ElementDeclaration.java.
|
inline |
The one-based index of the line containing the declaration name.
Definition at line 209 of file ElementDeclaration.java.
|
inline |
The name of the mixin enclosing this declaration. If the declaration is not a mixin member, this field will be absent.
Definition at line 217 of file ElementDeclaration.java.
|
inline |
The name of the declaration.
Definition at line 224 of file ElementDeclaration.java.
|
inline |
The offset of the declaration name in the file.
Definition at line 231 of file ElementDeclaration.java.
|
inline |
The parameter list for the element. If the element is not a method or function this field will not be defined. If the element doesn't have parameters (e.g. getter), this field will not be defined. If the element has zero parameters, this field will have a value of "()". The value should not be treated as exact presentation of parameters, it is just approximation of parameters to give the user general idea.
Definition at line 242 of file ElementDeclaration.java.
|
inline |
Definition at line 247 of file ElementDeclaration.java.
|
inline |
Definition at line 263 of file ElementDeclaration.java.
|
inline |
Definition at line 286 of file ElementDeclaration.java.
|
static |
Definition at line 34 of file ElementDeclaration.java.
|
static |
Definition at line 36 of file ElementDeclaration.java.