public class JsProgramFragment extends JsNode
JsProgram
.Constructor and Description |
---|
JsProgramFragment(SourceInfo sourceInfo) |
Modifier and Type | Method and Description |
---|---|
JsBlock |
getGlobalBlock() |
NodeKind |
getKind() |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsProgramFragment(SourceInfo sourceInfo)
public JsBlock getGlobalBlock()
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.