Uses of Class
org.codehaus.groovy.syntax.SyntaxException

Packages that use SyntaxException
groovy.lang Core Groovy language classes for implementing data structures, closures, metadata and so forth. 
org.codehaus.groovy.classgen Generates Java classes for Groovy classes using ASM. 
org.codehaus.groovy.syntax Lexer, parser and trees. 
org.codehaus.groovy.syntax.lexer Lexer. 
org.codehaus.groovy.syntax.parser The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree)  
 

Uses of SyntaxException in groovy.lang
 

Methods in groovy.lang that throw SyntaxException
 Class GroovyClassLoader.parseClass(String file)
          Parses the given file name into a Java class capable of being run
 Class GroovyClassLoader.parseClass(InputStream in, String file)
          Parses the given character stream into a Java class capable of being run
 void GroovyShell.run(File scriptFile, List list)
          A helper method which runs the given script file with the given command line arguments
 void GroovyShell.run(String scriptFile, String[] args)
          Runs the given script file name with the given command line arguments
 void GroovyShell.run(String scriptText, String fileName, String[] args)
          Runs the given script text with command line arguments
 Object GroovyShell.run(InputStream in, String fileName, String[] args)
          Runs the given script with command line arguments
 Object GroovyShell.evaluate(String scriptText, String fileName)
          Evaluates some script against the current ScriptContext and returns the result
 Object GroovyShell.evaluate(String fileName)
          Evaluates some script against the current ScriptContext and returns the result
 Object GroovyShell.evaluate(InputStream in, String fileName)
          Evaluates some script against the current ScriptContext and returns the result
 

Uses of SyntaxException in org.codehaus.groovy.classgen
 

Methods in org.codehaus.groovy.classgen that throw SyntaxException
 void CompilerFacade.parseClass(InputStream in, String file)
          Parses the given character stream into a number of ClassNode instances
protected  void CompilerFacade.parseClass(org.codehaus.groovy.syntax.lexer.CharStream charStream, String file)
           
 

Uses of SyntaxException in org.codehaus.groovy.syntax
 

Subclasses of SyntaxException in org.codehaus.groovy.syntax
 class SemanticException
           
 class TokenMismatchException
           
 

Methods in org.codehaus.groovy.syntax that throw SyntaxException
protected abstract  org.codehaus.groovy.syntax.Token AbstractTokenStream.nextToken()
           
 org.codehaus.groovy.syntax.Token AbstractTokenStream.la()
           
 org.codehaus.groovy.syntax.Token AbstractTokenStream.la(int k)
           
 org.codehaus.groovy.syntax.Token AbstractTokenStream.consume(int type)
           
 org.codehaus.groovy.syntax.Token TokenStream.la()
          Look-ahead to the next token.
 org.codehaus.groovy.syntax.Token TokenStream.la(int k)
          Look-ahead to the kth token.
 org.codehaus.groovy.syntax.Token TokenStream.consume(int type)
          Consume the next token.
 

Uses of SyntaxException in org.codehaus.groovy.syntax.lexer
 

Subclasses of SyntaxException in org.codehaus.groovy.syntax.lexer
 class LexerException
          Base exception indicating a lexical error.
 class UnexpectedCharacterException
           
 class UnterminatedStringLiteralException
           
 

Methods in org.codehaus.groovy.syntax.lexer that throw SyntaxException
 org.codehaus.groovy.syntax.Token LexerTokenStream.nextToken()
           
 

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

Subclasses of SyntaxException in org.codehaus.groovy.syntax.parser
 class ParserException
           
 class UnexpectedTokenException
           
 

Methods in org.codehaus.groovy.syntax.parser that throw SyntaxException
 void Parser.optionalSemicolon()
           
 void Parser.optionalNewlines()
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.compilationUnit()
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.packageDeclaration()
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.importStatement()
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.typeDeclaration()
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.classDeclaration(org.codehaus.groovy.syntax.parser.CSTNode modifiers)
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.interfaceDeclaration(org.codehaus.groovy.syntax.parser.CSTNode modifiers)
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.bodyStatement()
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.propertyDeclaration(org.codehaus.groovy.syntax.parser.CSTNode modifiers, org.codehaus.groovy.syntax.parser.CSTNode type, org.codehaus.groovy.syntax.parser.CSTNode identifier)
           
 org.codehaus.groovy.syntax.parser.CSTNode Parser.methodDeclaration(org.codehaus.groovy.syntax.parser.CSTNode modifiers, org.codehaus.groovy.syntax.parser.CSTNode type, org.codehaus.groovy.syntax.parser.CSTNode identifier)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.parameterDeclarationList()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.parameterDeclaration()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.parameterDeclarationWithDatatype()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.parameterDeclarationWithoutDatatype()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.datatype()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.statementOrStatementBlock()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.statementBlock()
           
protected  void Parser.statementsUntilRightCurly(org.codehaus.groovy.syntax.parser.CSTNode root)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.statement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.switchStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.breakStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.continueStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.throwStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.synchronizedStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.ifStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.tryStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.returnStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.whileStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.forStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.assertStatement()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.expression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.assignmentExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.conditionalExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.logicalOrExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.logicalAndExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.equalityExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.relationalExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.rangeExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.additiveExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.multiplicativeExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.unaryExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.postfixExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.primaryExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.sugaryMethodCallExpression(org.codehaus.groovy.syntax.parser.CSTNode expr, org.codehaus.groovy.syntax.parser.CSTNode identifier, org.codehaus.groovy.syntax.parser.CSTNode dotExpr)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.regexPattern()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.doubleQuotedString()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.parentheticalExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.parameterList(int endOfListDemarc)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.namedParameterList(int endOfListDemarc)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.newExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.closureExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.listOrMapExpression()
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.mapExpression(org.codehaus.groovy.syntax.parser.CSTNode key)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.listExpression(org.codehaus.groovy.syntax.parser.CSTNode entry)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.argumentList()
           
protected  void Parser.throwExpected(int[] expectedTypes)
           
protected  void Parser.consumeUntil(int type)
           
protected  org.codehaus.groovy.syntax.Token Parser.la()
           
protected  int Parser.lt()
           
protected  org.codehaus.groovy.syntax.Token Parser.la(int k)
           
protected  int Parser.lt(int k)
           
protected  org.codehaus.groovy.syntax.Token Parser.consume(int type)
           
protected  void Parser.consume(org.codehaus.groovy.syntax.parser.CSTNode root, int type)
           
protected  void Parser.consumeUntil_bare(int type)
           
protected  org.codehaus.groovy.syntax.Token Parser.la_bare()
           
protected  int Parser.lt_bare()
           
protected  org.codehaus.groovy.syntax.Token Parser.la_bare(int k)
           
protected  int Parser.lt_bare(int k)
           
protected  org.codehaus.groovy.syntax.Token Parser.consume_bare(int type)
           
protected  void Parser.consume_bare(org.codehaus.groovy.syntax.parser.CSTNode root, int type)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.rootNode(int type)
           
protected  org.codehaus.groovy.syntax.parser.CSTNode Parser.rootNode(int type, org.codehaus.groovy.syntax.parser.CSTNode child)
           
 



Copyright © 2003 The Codehaus. All Rights Reserved.