I - The type of identifiersT - The type of type informationpublic final class StatementPackageBegin<I,T> extends Object implements ModelElementType, StatementType<I,T>
package-begin statement.| Constructor and Description |
|---|
StatementPackageBegin(PackageNameQualified in_pack)
Construct a statement.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
PackageNameQualified |
getPackageName() |
<A,E extends Exception> |
matchStatement(StatementMatcherType<I,T,A,E> m)
Accept a matcher.
|
public StatementPackageBegin(PackageNameQualified in_pack)
in_pack - The package namepublic PackageNameQualified getPackageName()
public Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypepublic <A,E extends Exception> A matchStatement(StatementMatcherType<I,T,A,E> m) throws E extends Exception
StatementTypematchStatement in interface StatementType<I,T>A - The type of returned valuesE - The type of raised exceptionsm - The matchermE - If m raises EE extends ExceptionCopyright © 2016 <code@io7m.com> http://io7m.com