abc4j API Specification

Uses of Class
scanner.CharStreamPosition

Packages that use CharStreamPosition
abc.parser This package contains classes for parsing tunes in abc notation. 
scanner This package contains classes for scanners needed for syntax analysis : a scanner is in charge of retrieving tokens from an input stream. 
 

Uses of CharStreamPosition in abc.parser
 

Methods in abc.parser that return CharStreamPosition
 CharStreamPosition PositionableNote.getPosition()
           
 CharStreamPosition PositionableMultiNote.getPosition()
           
 CharStreamPosition InvalidTokenEvent.getPosition()
          Returns the place where this event occured.
 

Methods in abc.parser with parameters of type CharStreamPosition
 void PositionableNote.setBeginPosition(CharStreamPosition position)
           
 void PositionableMultiNote.setBeginPosition(CharStreamPosition position)
           
 

Constructors in abc.parser with parameters of type CharStreamPosition
InvalidTokenEvent(java.lang.Object source, CharStreamPosition position, TokenType expectedTokenType)
          Creates a new event.
 

Uses of CharStreamPosition in scanner
 

Methods in scanner that return CharStreamPosition
 CharStreamPosition TokenEvent.getPosition()
           
 CharStreamPosition Token.getPosition()
          Returns the position of this token.
 CharStreamPosition Scanner.getPosition()
          Returns the position of the scanner if the input stream.
 CharStreamPosition PositionableInCharStream.getPosition()
          Returns the start position.
 CharStreamPosition InvalidCharacterEvent.getPosition()
          Returns the position where the invalid character has been detected.
 

Methods in scanner with parameters of type CharStreamPosition
 void CharStreamPosition.setPosition(CharStreamPosition pos)
          Sets this position to the same place as the specified one.
 

Constructors in scanner with parameters of type CharStreamPosition
CharStreamPosition(CharStreamPosition pos)
          Creates a new position a the same place as the given one.
InvalidCharacterEvent(java.lang.Object source, char character, CharStreamPosition position)
          Creates a new event with the following parameters.
Token(java.lang.String val, TokenType type, CharStreamPosition position)
          Creates a new token with the specified values.
 


abc4j API Specification

Submit a bug or feature