Modifier and Type | Method and 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.
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-09-03-162606.buildd.src