public final class EndSymbol extends AbstractSymbol implements PackageDescriptionFileSymbol
| Constructor and Description |
|---|
EndSymbol(Position position)
This is the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPackageParserState |
accept(PackageDescriptionSymbolVisitor visitor,
PackageDescriptionFileParser parser)
calls the visitor with the Symbollist.
|
AbstractPackageParserState |
accept(PackageDescriptionSymbolVisitorWithTempRule visitor,
PackageDescriptionFileParser parser,
TempPackageRule tempPackageRule)
calls the visitor with the Symbollist.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.Boolean |
isPackageDescriptionFileSymbol() |
PackageDescriptionFileSymbol |
toPackageDescriptionFileSymbol() |
java.lang.String |
toString() |
getPosition, isPathSymbol, isRowEndSymbol, isValueSymbol, toCommentSymbol, toOptionSymbol, toPathSymbol, toValueSymbol, toVariableSymbolclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPosition, isPathSymbol, isRowEndSymbol, isValueSymbol, toCommentSymbol, toOptionSymbol, toPathSymbol, toValueSymbol, toVariableSymbolpublic EndSymbol(Position position)
position - is the position of the data in the stream.public java.lang.String toString()
toString in class java.lang.Objectpublic AbstractPackageParserState accept(PackageDescriptionSymbolVisitor visitor, PackageDescriptionFileParser parser) throws java.lang.InterruptedException, ParserException
PackageDescriptionFileSymbolaccept in interface PackageDescriptionFileSymbolvisitor - is the called visitor.parser - This is the PackageDescriptionparser.java.lang.InterruptedException - from the Buffer.ParserException - if the symbol is not expected.public AbstractPackageParserState accept(PackageDescriptionSymbolVisitorWithTempRule visitor, PackageDescriptionFileParser parser, TempPackageRule tempPackageRule) throws java.lang.InterruptedException, ParserException
PackageDescriptionFileSymbolaccept in interface PackageDescriptionFileSymbolvisitor - is the called visitor.parser - This is the PackageDescriptionparser.tempPackageRule - is a temporary package rule.java.lang.InterruptedException - from the Buffer.ParserException - if the symbol is not expected.public int hashCode()
hashCode in class AbstractSymbolpublic boolean equals(java.lang.Object obj)
equals in class AbstractSymbolpublic java.lang.Boolean isPackageDescriptionFileSymbol()
isPackageDescriptionFileSymbol in interface PackageDescriptionFileSymbolisPackageDescriptionFileSymbol in class AbstractSymbolpublic PackageDescriptionFileSymbol toPackageDescriptionFileSymbol()
toPackageDescriptionFileSymbol in interface PackageDescriptionFileSymboltoPackageDescriptionFileSymbol in class AbstractSymbol