LibraryModuleNode
, MainModuleNode
public abstract class ModuleNode extends ASTNode
Modifier and Type | Field | Description |
---|---|---|
protected PrologNode |
prolog |
|
protected VersionDeclNode |
version |
Constructor | Description |
---|---|
ModuleNode(SourceLocation loc) |
Modifier and Type | Method | Description |
---|---|---|
PrologNode |
getProlog() |
|
VersionDeclNode |
getVersion() |
|
void |
setProlog(PrologNode prolog) |
|
void |
setVersion(VersionDeclNode version) |
getSourceLocation, getTag, toString
protected VersionDeclNode version
protected PrologNode prolog
public ModuleNode(SourceLocation loc)
public VersionDeclNode getVersion()
public void setVersion(VersionDeclNode version)
public PrologNode getProlog()
public void setProlog(PrologNode prolog)
Copyright © 2019 Apache Software Foundation. All rights reserved.