@Immutable public final class PackageImport extends Object implements ModelElementType
| Constructor and Description |
|---|
PackageImport(PackageNameQualified in_from,
PackageNameQualified in_to)
Construct a package import declaration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PackageNameQualified |
getFrom() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
PackageNameQualified |
getTo() |
int |
hashCode() |
public PackageImport(PackageNameQualified in_from, PackageNameQualified in_to)
in_from - The importing packagein_to - The imported packagepublic PackageNameQualified getFrom()
public PackageNameQualified getTo()
public Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypeCopyright © 2016 <code@io7m.com> http://io7m.com