Modifier and Type | Method | Description |
---|---|---|
LineMap |
getLineMap() |
Returns the line map for this compilation unit, if available.
|
ModuleTree |
getModule() |
Return the
ModuleTree associated with this compilation unit. |
List<? extends Tree> |
getSourceElements() |
Return the list of source elements in this compilation unit.
|
String |
getSourceName() |
Return the source name of this script compilation unit.
|
boolean |
isStrict() |
Returns if this is a ECMAScript "strict" compilation unit or not.
|
accept, getEndPosition, getKind, getStartPosition
List<? extends Tree> getSourceElements()
String getSourceName()
boolean isStrict()
LineMap getLineMap()
ModuleTree getModule()
ModuleTree
associated with this compilation unit. This is null,
if there is no module information from this compilation unit. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2