java.lang.Object
com.github.javaparser.printer.concretesyntaxmodel.CsmToken
All Implemented Interfaces:
CsmElement

public class CsmToken extends Object implements CsmElement
  • Constructor Details

    • CsmToken

      public CsmToken(int tokenType)
    • CsmToken

      public CsmToken(int tokenType, String content)
    • CsmToken

      public CsmToken(int tokenType, CsmToken.TokenContentCalculator tokenContentCalculator)
  • Method Details

    • getTokenType

      public int getTokenType()
    • getContent

      public String getContent(Node node)
    • prettyPrint

      public void prettyPrint(Node node, SourcePrinter printer)
      Specified by:
      prettyPrint in interface CsmElement
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isWhiteSpace

      public boolean isWhiteSpace()
    • isNewLine

      public boolean isNewLine()