
public class JsPositionMarker extends JsStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
JsPositionMarker.Type
Categories of markers that can be placed in a JS AST.
|
| Constructor and Description |
|---|
JsPositionMarker(SourceInfo sourceInfo,
String name,
JsPositionMarker.Type type) |
| Modifier and Type | Method and Description |
|---|---|
NodeKind |
getKind() |
String |
getName() |
JsPositionMarker.Type |
getType() |
boolean |
shouldRecordPosition()
Whether statement ranges should be recorded for this statement type.
|
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
unconditionalControlBreakgetSourceInfo, setSourceInfo, toSource, toSource, toStringpublic JsPositionMarker(SourceInfo sourceInfo, String name, JsPositionMarker.Type type)
public String getName()
public JsPositionMarker.Type getType()
public boolean shouldRecordPosition()
JsStatementshouldRecordPosition in class JsStatementpublic void traverse(JsVisitor v, JsContext ctx)
JsVisitablev - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.