Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractParser - Class in de.jplag
-
Abstract parser class.
- AbstractParser() - Constructor for class de.jplag.AbstractParser
C
- clearCache() - Static method in class de.jplag.LanguageLoader
-
Resets the internal cache of all loaded languages
D
- de.jplag - package de.jplag
F
- FILE_END - Enum constant in enum class de.jplag.SharedTokenType
-
Marks the end of the file.
- fileEnd(File) - Static method in class de.jplag.Token
-
Creates a token of type
FILE_ENDwithout information about line, column, and length.
G
- getAllAvailableLanguageIdentifiers() - Static method in class de.jplag.LanguageLoader
-
Get an unmodifiable set of all available languages with their identifiers.
- getAllAvailableLanguages() - Static method in class de.jplag.LanguageLoader
-
Get all languages that are currently in the classpath.
- getColumn() - Method in class de.jplag.Token
-
Returns the character index which denotes where the code sections represented by this token starts in the line.
- getDescription() - Method in enum class de.jplag.SharedTokenType
- getDescription() - Method in interface de.jplag.TokenType
-
Returns the user-readable description of this token type.
- getFile() - Method in class de.jplag.Token
- getIdentifier() - Method in interface de.jplag.Language
-
Identifier of the language used for CLI options and dynamic loading.
- getLanguage(String) - Static method in class de.jplag.LanguageLoader
-
Load a language that is currently in the classpath by its short name.
- getLength() - Method in class de.jplag.Token
-
Gives the length if the code sections represented by this token.
- getLine() - Method in class de.jplag.Token
-
Gives the line index denoting in which line the code sections represented by this token starts.
- getName() - Method in interface de.jplag.Language
-
Descriptive name of the language.
- getType() - Method in class de.jplag.Token
I
- isExcludedFromMatching() - Method in enum class de.jplag.SharedTokenType
- isExcludedFromMatching() - Method in interface de.jplag.TokenType
-
Indicates that no matches containing this token type shall be generated.
- isPreformatted() - Method in interface de.jplag.Language
-
Determines whether a fixed-width font should be used to display that language.
L
- Language - Interface in de.jplag
-
Common interface for all languages.
- LanguageLoader - Class in de.jplag
-
This class contains methods to load
Languages. - logger - Variable in class de.jplag.AbstractParser
M
- minimumTokenMatch() - Method in interface de.jplag.Language
-
Minimum number of tokens required for a match.
N
P
- parse(Set<File>) - Method in interface de.jplag.Language
-
Parses a set of files.
- ParsingException - Exception in de.jplag
-
An exception to throw if any error occurred while parsing files in a language frontend.
- ParsingException(File) - Constructor for exception de.jplag.ParsingException
-
Constructs a new exception indicating a parsing exception in the given file without a specific reason.
- ParsingException(File, String) - Constructor for exception de.jplag.ParsingException
-
Constructs a new exception indicating a parsing exception in the given file with the given reason.
- ParsingException(File, String, Throwable) - Constructor for exception de.jplag.ParsingException
-
Constructs a new exception indicating a parsing exception in the given file with the given reason and cause.
- ParsingException(File, Throwable) - Constructor for exception de.jplag.ParsingException
-
Constructs a new exception indicating a parsing exception in the given file with the given cause.
- printTokens(List<Token>, File) - Static method in class de.jplag.TokenPrinter
-
Creates a string representation of a set of files line by line and adds the tokens under the lines.
- printTokens(List<Token>, File, Optional<String>) - Static method in class de.jplag.TokenPrinter
-
Creates a string representation of a collection of files line by line and adds the tokens under the lines.
S
- SharedTokenType - Enum Class in de.jplag
-
Shared token types that occur for any language.
- suffixes() - Method in interface de.jplag.Language
-
Suffixes for the files containing code of the language.
T
- Token - Class in de.jplag
-
This class represents a token in a source code.
- Token(TokenType, File, int, int, int) - Constructor for class de.jplag.Token
-
Creates a token with column and length information.
- TokenPrinter - Class in de.jplag
-
Utility class for printing JPlag tokens from a submission.
- TokenType - Interface in de.jplag
-
Indicates the type of a token.
U
- useViewFiles() - Method in interface de.jplag.Language
-
Indicates whether the input files (code) should be used as representation in the report, or different files that form a view on the input files.
V
- valueOf(String) - Static method in enum class de.jplag.SharedTokenType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.jplag.SharedTokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- viewFileSuffix() - Method in interface de.jplag.Language
-
If the language uses representation files, this method returns the suffix used for the representation files.
W
- wrappingExceptions(Collection<ParsingException>) - Static method in exception de.jplag.ParsingException
-
Creates a new parsing exception which wraps the provided exceptions.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form