Top Fields Constructors Methods
org.joni

pack-priv abstract Class ScannerSupport

extends IntHolder
implements ErrorMessages
Class Inheritance
All Implemented Interfaces
org.joni.exception.ErrorMessages, org.jcodings.exception.ErrorMessages
Known Direct Subclasses
org.joni.Lexer
Imports
org.jcodings.Encoding, .IntHolder, org.joni.exception.ErrorMessages, .InternalException, .SyntaxException, .ValueException

Field Summary

Modifier and TypeField and Description
protected int
private final int
protected final byte[]
protected int
c

protected final Encoding
private final int
private static final int
private int
protected int
p

protected int
Inherited from org.jcodings.IntHolder:
value

Constructor Summary

AccessConstructor and Description
protected
ScannerSupport(Encoding enc, byte[] bytes, int p, int end)

Method Summary

Modifier and TypeMethod and Description
protected final void
protected int
protected final int
protected final int
protected final void
inc()

protected final boolean
left()

protected final void
mark()

protected void
protected void
protected void
protected void
protected void
newValueException(String message, int p, int end)

protected final int
peek()

protected final boolean
peekIs(int c)

protected final void
protected final void
protected final int
scanUnsignedHexadecimalNumber(int minLength, int maxLength)

protected final int
protected final int
scanUnsignedOctalNumber(int maxLength)

protected final void

Field Detail

_pback to summary
protected int _p
beginback to summary
private final int begin
bytesback to summary
protected final byte[] bytes
cback to summary
protected int c
encback to summary
protected final Encoding enc
endback to summary
private final int end
INT_SIGN_BITback to summary
private static final int INT_SIGN_BIT
lastFetchedback to summary
private int lastFetched
pback to summary
protected int p
stopback to summary
protected int stop

Constructor Detail

ScannerSupportback to summary
protected ScannerSupport(Encoding enc, byte[] bytes, int p, int end)

Method Detail

fetchback to summary
protected final void fetch()
fetchToback to summary
protected int fetchTo()
getBeginback to summary
protected final int getBegin()
getEndback to summary
protected final int getEnd()
incback to summary
protected final void inc()
leftback to summary
protected final boolean left()
markback to summary
protected final void mark()
newInternalExceptionback to summary
protected void newInternalException(String message)
newSyntaxExceptionback to summary
protected void newSyntaxException(String message)
newValueExceptionback to summary
protected void newValueException(String message)
newValueExceptionback to summary
protected void newValueException(String message, String str)
newValueExceptionback to summary
protected void newValueException(String message, int p, int end)
peekback to summary
protected final int peek()
peekIsback to summary
protected final boolean peekIs(int c)
resetback to summary
protected final void reset()
restoreback to summary
protected final void restore()
scanUnsignedHexadecimalNumberback to summary
protected final int scanUnsignedHexadecimalNumber(int minLength, int maxLength)
scanUnsignedNumberback to summary
protected final int scanUnsignedNumber()
scanUnsignedOctalNumberback to summary
protected final int scanUnsignedOctalNumber(int maxLength)
unfetchback to summary
protected final void unfetch()