A B C D F G H I L M N P R S V 
All Classes All Packages

A

accept(AstVisitor<? extends ValueT>) - Method in class it.twenfir.antlr.ast.AstNode
Default implementation of accept for AstVisitor's.
addChild(AstNode) - Method in class it.twenfir.antlr.ast.AstNode
Add a child node.
addChildren(Collection<N>) - Method in class it.twenfir.antlr.ast.AstNode
Add a collection of children nodes.
aggregate(ValueT, ValueT) - Method in interface it.twenfir.antlr.ast.AstVisitor
Default method to aggregate visit results, e.g.
aggregate(ValueT, ValueT) - Method in class it.twenfir.antlr.ast.BaseAstVisitor
Default internal node implementation for visitors that compute aggregate values over nodes.
AstHelper - Class in it.twenfir.antlr.ast
Provide methods to help building AST's
AstHelper() - Constructor for class it.twenfir.antlr.ast.AstHelper
 
AstNode - Class in it.twenfir.antlr.ast
The base class of AST nodes.
AstNode(Location) - Constructor for class it.twenfir.antlr.ast.AstNode
Constructor.
AstVisitor<ValueT> - Interface in it.twenfir.antlr.ast
Base interface for visitors.

B

BaseAstVisitor<ValueT> - Class in it.twenfir.antlr.ast
A helper base class for concrete visitor implementations.
BaseAstVisitor() - Constructor for class it.twenfir.antlr.ast.BaseAstVisitor
Default constructor.

C

ChildrenIterator<NodeT extends AstNode> - Class in it.twenfir.antlr.ast
An iterator that only returns elements of the specified class.
ChildrenIterator(Iterator<AstNode>, Class<? extends NodeT>) - Constructor for class it.twenfir.antlr.ast.ChildrenIterator
Constructor.

D

defaultValue() - Method in interface it.twenfir.antlr.ast.AstVisitor
Default result of visiting a leaf node.
defaultValue() - Method in class it.twenfir.antlr.ast.BaseAstVisitor
Default leaf node implementation for visitors that compute aggregate values over nodes.

F

FileException - Exception in it.twenfir.antlr.exception
Exception thrown on file manipulation errors.
FileException(String) - Constructor for exception it.twenfir.antlr.exception.FileException
 
FileException(String, Throwable) - Constructor for exception it.twenfir.antlr.exception.FileException
 
Files - Class in it.twenfir.antlr.tools
Utility functions to work with files.
Files() - Constructor for class it.twenfir.antlr.tools.Files
 

G

getCharPositionInLine() - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 
getChild(Class<ChildT>) - Method in class it.twenfir.antlr.ast.AstNode
Return a single child node of the specified type, assumed to be the only such node.
getChildren() - Method in class it.twenfir.antlr.ast.AstNode
Return all the node's children.
getChildren(Class<ChildT>) - Method in class it.twenfir.antlr.ast.AstNode
Return all the children nodes of the specified type.
getEnd() - Method in class it.twenfir.antlr.ast.AstNode
Return the end token in the ANTLR token stream.
getEnd() - Method in class it.twenfir.antlr.ast.Location
Return the end token.
getFileName() - Method in class it.twenfir.antlr.parser.ParserDriverBase
The name of the input file.
getInputStream() - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 
getLine() - Method in class it.twenfir.antlr.ast.AstNode
Return the line where the node's text is located in the source code.
getLine() - Method in class it.twenfir.antlr.ast.Location
Return the source file line.
getLine() - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 
getName() - Method in class it.twenfir.antlr.parser.ParserDriverBase
The name of the current parser
getPos() - Method in class it.twenfir.antlr.ast.AstNode
Return the position in the line where the node's text is located in the source code.
getPos() - Method in class it.twenfir.antlr.ast.Location
Return the position in the line.
getSourceName() - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 
getStart() - Method in class it.twenfir.antlr.ast.AstNode
Return the start token in the ANTLR token stream.
getStart() - Method in class it.twenfir.antlr.ast.Location
Return the start token.
getTokenFactory() - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 
getType() - Method in class it.twenfir.antlr.ast.AstNode
Return the class name of the node.

H

hasNext() - Method in class it.twenfir.antlr.ast.ChildrenIterator
Return whether the iterator has more elements.

I

isErrors() - Method in class it.twenfir.antlr.parser.ParserDriverBase
whether parsing errors occurred.
isThrowOnError() - Method in class it.twenfir.antlr.parser.ParserDriverBase
Whether to throw exceptions in case of parsing errors.
it.twenfir.antlr.ast - package it.twenfir.antlr.ast
 
it.twenfir.antlr.exception - package it.twenfir.antlr.exception
 
it.twenfir.antlr.parser - package it.twenfir.antlr.parser
 
it.twenfir.antlr.tools - package it.twenfir.antlr.tools
 

L

location(ParserRuleContext) - Static method in class it.twenfir.antlr.ast.AstHelper
Create a Location instance from an ANTLR rule context.
Location - Class in it.twenfir.antlr.ast
A position in a source file, both as line and character, and as start and end token index.
Location(int, int, int, int) - Constructor for class it.twenfir.antlr.ast.Location
Constructor.
LoggingTokenSource - Class in it.twenfir.antlr.parser
A TokenSource that logs token to SLF4J.
LoggingTokenSource(Lexer) - Constructor for class it.twenfir.antlr.parser.LoggingTokenSource
Constructor.

M

makeDir(String) - Static method in class it.twenfir.antlr.tools.Files
Ensures that the given path is an existing directory.

N

next() - Method in class it.twenfir.antlr.ast.ChildrenIterator
Return the current element and advance to the next position.
nextToken() - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 

P

ParseException - Exception in it.twenfir.antlr.exception
Exception thrown on parsing errors.
ParseException(String) - Constructor for exception it.twenfir.antlr.exception.ParseException
 
ParseException(String, Throwable) - Constructor for exception it.twenfir.antlr.exception.ParseException
 
ParserDriverBase - Class in it.twenfir.antlr.parser
Base class for parser drivers
ParserDriverBase(String, String, boolean, Logger) - Constructor for class it.twenfir.antlr.parser.ParserDriverBase
Constructor.
ParserDriverBase(String, Logger) - Constructor for class it.twenfir.antlr.parser.ParserDriverBase
Constructor.

R

readFile(String, List<String>) - Static method in class it.twenfir.antlr.tools.Files
Search for a source file in a set of directories and/or classpath locations.
readFile(String, List<String>, Charset) - Static method in class it.twenfir.antlr.tools.Files
Search for a source file in a set of directories and/or classpath locations.

S

setTokenFactory(TokenFactory<?>) - Method in class it.twenfir.antlr.parser.LoggingTokenSource
 
syntaxError(Recognizer<?, ?>, Object, int, int, String, RecognitionException) - Method in class it.twenfir.antlr.parser.ParserDriverBase
 

V

visit(AstNode) - Method in interface it.twenfir.antlr.ast.AstVisitor
Generic visit to the current node.
visit(AstNode) - Method in class it.twenfir.antlr.ast.BaseAstVisitor
Default implementation of visiting a node.
visitChildren(AstNode) - Method in interface it.twenfir.antlr.ast.AstVisitor
Generic visit over a node's children.
visitChildren(AstNode) - Method in class it.twenfir.antlr.ast.BaseAstVisitor
Helper method that visits children and computes their aggregated value.
visitChildren(V, RuleNode, AstNode) - Static method in class it.twenfir.antlr.ast.AstHelper
Visit children of an ANTLR parse tree node and add them as children of the current AST node.
A B C D F G H I L M N P R S V 
All Classes All Packages