Uses of Class
org.codehaus.groovy.tools.ExceptionCollector

Packages that use ExceptionCollector
org.codehaus.groovy.syntax.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
org.codehaus.groovy.tools Compiler entry points and miscellaneous development tools. 
 

Uses of ExceptionCollector in org.codehaus.groovy.syntax.parser
 

Methods in org.codehaus.groovy.syntax.parser that throw ExceptionCollector
 CSTNode Parser.compilationUnit()
          The primary file-level parsing entry point.
 CSTNode Parser.compilationUnit()
          The primary file-level parsing entry point.
 CSTNode Parser.packageDeclaration()
          Processes a package declaration.
 CSTNode Parser.importStatement()
          Processes an import statement.
 CSTNode Parser.topLevelStatement()
          Processes a top level statement (classes, interfaces, unattached methods, and unattached code).
 CSTNode Parser.typeDeclaration()
          A synomym for topLevelStatement().
 CSTNode Parser.modifierList(boolean allowStatic, boolean allowAbstract)
          Processes the modifiers list that can appear on top- and class-level method and class-level variable names (public, private, abstract, etc.).
 CSTNode Parser.classDeclaration(CSTNode modifiers)
          Processes a class declaration.
 CSTNode Parser.interfaceDeclaration(CSTNode modifiers)
          Processes a interface declaration.
 CSTNode Parser.typeList(int declarator, int[] until, boolean optional, int limit)
          Processes a type list, like the ones that occur after "extends" or implements.
 CSTNode Parser.typeBody(boolean allowStatic, boolean allowAbstract, boolean requireAbstract)
          Processes the body of an interface or class.
 CSTNode Parser.typeBodyStatement(boolean allowStatic, boolean allowAbstract, boolean requireAbstract)
          Processes a single entry in the the body of an interface or class.
 CSTNode Parser.bodyStatement()
          A synonym for typeBodyStatement( true, true, false ).
protected  CSTNode Parser.optionalDatatype(boolean useBare, boolean allowVoid)
          Processes an optional data type marker (for a parameter, method return type, etc.).
 CSTNode Parser.propertyDeclaration(CSTNode modifiers, CSTNode type, CSTNode identifier)
          Processes a class/interface property, including the optional initialization clause.
 CSTNode Parser.methodDeclaration(CSTNode modifiers, CSTNode type, CSTNode identifier, boolean emptyOnly)
          Processes a class/interface method.
protected  CSTNode Parser.parameterDeclarationList()
          Processes a parameter declaration list, which can occur on methods and closures.
protected  CSTNode Parser.parameterDeclaration()
          Processes a single parameter declaration, which can occur on methods and closures.
protected  CSTNode Parser.datatype(boolean allowVoid)
          Processes a datatype specification.
protected  CSTNode Parser.datatype()
          A synonym for datatype( true ).
protected  CSTNode Parser.scalarDatatype(boolean allowVoid)
          Processes a scalar datatype specification.
protected  CSTNode Parser.statementBody(boolean requireBraces)
          Processes the body of a complex statement (like "if", "for", etc.).
protected  CSTNode Parser.statementsUntilRightCurly(CSTNode root)
          Reads statements until a "}" is met.
protected  CSTNode Parser.statement(boolean allowUnlabelledBlocks)
          Processes a single statement.
protected  CSTNode Parser.statement()
          Synonym for statement( false ).
protected  CSTNode Parser.switchStatement()
          Processes a switch statement.
protected  CSTNode Parser.breakStatement()
          Processes a break statement.
protected  CSTNode Parser.continueStatement()
          Processes a continue statement.
protected  CSTNode Parser.throwStatement()
          Processes a throw statement.
protected  CSTNode Parser.synchronizedStatement()
          Processes a synchronized statement.
protected  CSTNode Parser.ifStatement()
          Processes an if statement.
protected  CSTNode Parser.tryStatement()
          Processes an try statement.
protected  CSTNode Parser.returnStatement()
          Processes a return statement.
protected  CSTNode Parser.whileStatement()
          Processes a while statement.
protected  CSTNode Parser.doWhileStatement()
          Processes a do ...
protected  CSTNode Parser.forStatement()
          Processes a for statement.
protected  CSTNode Parser.assertStatement()
           
protected  CSTNode Parser.expression()
           
protected  CSTNode Parser.assignmentExpression()
           
protected  CSTNode Parser.ternaryExpression()
           
protected  CSTNode Parser.logicalOrExpression()
           
protected  CSTNode Parser.logicalAndExpression()
           
protected  CSTNode Parser.equalityExpression()
           
protected  CSTNode Parser.relationalExpression()
           
protected  CSTNode Parser.rangeExpression()
           
protected  CSTNode Parser.additiveExpression()
           
protected  CSTNode Parser.multiplicativeExpression()
           
protected  CSTNode Parser.unaryExpression()
           
protected  CSTNode Parser.postfixExpression()
           
protected  CSTNode Parser.primaryExpression()
           
protected  CSTNode Parser.subscriptExpression(CSTNode expr)
           
protected  CSTNode Parser.methodCallOrPropertyExpression(CSTNode expr)
           
protected  CSTNode Parser.sugaryMethodCallExpression(CSTNode expr, CSTNode identifier, CSTNode dotExpr)
           
protected  CSTNode Parser.methodCallWithoutParenthesis(CSTNode expr, CSTNode identifier)
           
protected  boolean Parser.lookAheadForMethodCall()
           
protected  CSTNode Parser.regexPattern()
           
protected  CSTNode Parser.doubleQuotedString()
           
protected  CSTNode Parser.parentheticalExpression()
           
protected  CSTNode Parser.parameterList(int endOfListDemarc)
           
protected  CSTNode Parser.namedParameterList(int endOfListDemarc)
           
protected  CSTNode Parser.newExpression()
           
protected  CSTNode Parser.closureExpression()
           
protected  CSTNode Parser.closureExpression(boolean pipeRequired)
           
protected  CSTNode Parser.listOrMapExpression()
           
protected  CSTNode Parser.mapExpression(CSTNode key)
           
protected  CSTNode Parser.listExpression(CSTNode entry)
           
protected  CSTNode Parser.argumentList()
           
 

Constructors in org.codehaus.groovy.syntax.parser with parameters of type ExceptionCollector
Parser(TokenStream tokenStream, ExceptionCollector collector)
          Sets the Parser to process a TokenStream.
 

Uses of ExceptionCollector in org.codehaus.groovy.tools
 

Methods in org.codehaus.groovy.tools that return ExceptionCollector
 ExceptionCollector CompilationFailuresException.get(java.lang.String source)
          Returns the ExceptionCollector for the specified source, or null.
 

Methods in org.codehaus.groovy.tools with parameters of type ExceptionCollector
 void CompilationFailuresException.add(java.lang.String source, ExceptionCollector exceptions)
          Adds a ExceptionCollector to the set.
protected  void ErrorReporter.report(ExceptionCollector e, boolean child)
          For ExceptionCollector.
 void ExceptionCollector.merge(ExceptionCollector other)
          Merges in data from another collector.
 void ExceptionCollector.merge(ExceptionCollector other, boolean withThrow)
          Merges in data from another collector.
 

Methods in org.codehaus.groovy.tools that throw ExceptionCollector
protected  CSTNode Compiler.parseSource(CharStream charStream, java.lang.String descriptor)
          Parses a CharStream source, producing a Concrete Syntax Tree (CST).
 void ExceptionCollector.add(GroovyException exception)
          Adds a GroovyException to the collector.
 void ExceptionCollector.add(GroovyException exception, boolean withThrow)
          Adds a GroovyException to the collector.
 void ExceptionCollector.merge(ExceptionCollector other)
          Merges in data from another collector.
 void ExceptionCollector.merge(ExceptionCollector other, boolean withThrow)
          Merges in data from another collector.
 void ExceptionCollector.throwIfCause()
          Throws this collector if there is sufficient cause.
 void ExceptionCollector.throwUnlessEmpty()
          Throws this collector if it isn't empty.
 



Copyright © 2003-2004 The Codehaus. All Rights Reserved.