C D E L N P R T U V

C

columnEnd() - Method in interface edu.cornell.cs.cs4120.xi.Position
Returns the column number of the last character of this position.
columnStart() - Method in interface edu.cornell.cs.cs4120.xi.Position
Returns the column number of the first character of this position.
CompilationUnitLexerFactory - Interface in edu.cornell.cs.cs4120.testing
A factory for instantiating lexer instances that also takes the name of the compilation unit.

D

DefaultLexerFactory - Class in edu.cornell.cs.cs4120.testing
A worthless default LexerFactory implementation.
DefaultLexerFactory() - Constructor for class edu.cornell.cs.cs4120.testing.DefaultLexerFactory
 

E

edu.cornell.cs.cs4120.testing - package edu.cornell.cs.cs4120.testing
Interfaces that CS 4120 groups should implement to help the course staff test their work.
edu.cornell.cs.cs4120.xi - package edu.cornell.cs.cs4120.xi
 
edu.cornell.cs.cs4120.xi.lexer - package edu.cornell.cs.cs4120.xi.lexer
Classes and interfaces for lexing (or tokenizing) source code Nothing should depend on anything in this package except for code related to parsing.
equals(Object) - Method in interface edu.cornell.cs.cs4120.xi.lexer.Token
Returns whether two tokens are equal.
equals(Object) - Method in interface edu.cornell.cs.cs4120.xi.Position
Returns whether two positions are equal.

L

Lexer - Interface in edu.cornell.cs.cs4120.xi.lexer
A lexer (or scanner or tokenizer) for the Xi language.
LexerFactory - Interface in edu.cornell.cs.cs4120.testing
A factory for instantiating lexer instances.
lineEnd() - Method in interface edu.cornell.cs.cs4120.xi.Position
Returns the line number of the last character of this position.
lineStart() - Method in interface edu.cornell.cs.cs4120.xi.Position
Returns the line number of the first character of this position.

N

newLexer(Reader, String) - Method in interface edu.cornell.cs.cs4120.testing.CompilationUnitLexerFactory
Creates a lexer that reads tokens from the given reader.
newLexer(Reader) - Method in class edu.cornell.cs.cs4120.testing.DefaultLexerFactory
 
newLexer(Reader) - Method in interface edu.cornell.cs.cs4120.testing.LexerFactory
Creates a lexer that reads tokens from the given reader.
next() - Method in interface edu.cornell.cs.cs4120.xi.lexer.Lexer
Returns the next token in the input.

P

position() - Method in interface edu.cornell.cs.cs4120.xi.lexer.Token
The position at which this token occurs in the source.
Position - Interface in edu.cornell.cs.cs4120.xi
The position of a syntactic entity within Iota source.

R

remove() - Method in interface edu.cornell.cs.cs4120.xi.lexer.Lexer
This operation is not supported.

T

Token - Interface in edu.cornell.cs.cs4120.xi.lexer
A token (also called a symbol or a lexeme) in the language.
TokenType - Enum in edu.cornell.cs.cs4120.xi.lexer
A type of token in the source language.
type() - Method in interface edu.cornell.cs.cs4120.xi.lexer.Token
The type of this token.

U

unit() - Method in interface edu.cornell.cs.cs4120.xi.Position
Returns the compilation unit (typically a file name) of the syntactic entity, or null if the compilation unit is unavailable or inapplicable (such as in an anonymous compilation unit).

V

value() - Method in interface edu.cornell.cs.cs4120.xi.lexer.Token
The string of characters comprising the token in the source.
valueOf(String) - Static method in enum edu.cornell.cs.cs4120.xi.lexer.TokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.cornell.cs.cs4120.xi.lexer.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.

C D E L N P R T U V