Interface SyntaxToken

All Superinterfaces:
HasTextRange, JclTree

@Beta public interface SyntaxToken extends JclTree
The smallest atomic part of the syntax tree, e.g. a keyword, an operator, a parenthesis...
  • Method Details

    • value

      String value()
      Returns:
      the value of this token, as it appears in the source code.
    • comments

      List<Comment> comments()
      Returns:
      the comments associated to this token (comments immediately preceding this token).