# Package org.codehaus.groovy.syntax

package org.codehaus.groovy.syntax

Lexer, parser and trees.

- Related Packages
  Package
  Description
  org.codehaus.groovy
  Groovy Language for the JVM
- 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.
  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.
  Reduction
  A syntax reduction produced by the Parser during syntactic analysis.
  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.
  Token
  A `CSTNode` produced by the Lexer during lexical analysis.
  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.
  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.