# Package org.codehaus.groovy.syntax

## Package org.codehaus.groovy.syntax Description

Lexer, parser and trees.

- Class Summary
  Class | Description
  --- | ---
  ASTHelper | Common base class providing shared AST helper methods used by both the classic and new parsers.
  CSTNode | Abstract base class for nodes in the concrete syntax tree (CST) produced by parsing.
  Numbers | Utility class for processing and parsing Groovy numeric literals.
  Reduction | A syntax reduction produced by the Parser during syntactic analysis.
  Token | A CSTNode produced by the Lexer during lexical analysis.
  TokenUtil | Utility methods for working with tokens and operators.
  Types | Registry of token type constants and type hierarchy definitions for the concrete syntax tree (CST) system.

- Exception Summary
  Exception | Description
  --- | ---
  ParserException | Exception thrown when a parse error is encountered by the parser.
  ReadException | Exception that wraps I/O exceptions (IOException) in a Groovy-specific context.
  RuntimeParserException | A runtime exception wrapper for parser errors, allowing parser exceptions to be thrown from contexts that cannot throw checked exceptions.
  SyntaxException | Base exception class indicating a syntax error detected during parsing.
  TokenException | Exception thrown when a token-related error is encountered during parsing.
  TokenMismatchException | Exception thrown when a parser encounters a token of an unexpected type.