Package ghidra.app.decompiler

# Class ClangLine

java.lang.Object
ghidra.app.decompiler.ClangLine

public class ClangLine extends Object
A line of C code. This is an independent grouping of C tokens from the statement, vardecl retype groups

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClangLine(int lineNumber, int indent)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addToken(ClangToken tok)`
  `ArrayList<ClangToken>`
  `getAllTokens()`
  `int`
  `getIndent()`
  `String`
  `getIndentString()`
  `int`
  `getLineNumber()`
  `int`
  `getNumTokens()`
  `ClangToken`
  `getToken(int i)`
  `int`
  `indexOfToken(ClangToken token)`
  `String`
  `toDebugString(List<ClangToken> calloutTokens)`
  `String`
  `toDebugString(List<ClangToken> calloutTokens, String start, String end)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ClangLine

    public ClangLine(int lineNumber, int indent)

- ## Method Details

  - ### getIndentString

    public String getIndentString()

  - ### getIndent

    public int getIndent()

  - ### addToken

    public void addToken(ClangToken tok)

  - ### getAllTokens

    public ArrayList<ClangToken> getAllTokens()

  - ### getNumTokens

    public int getNumTokens()

  - ### getLineNumber

    public int getLineNumber()

  - ### getToken

    public ClangToken getToken(int i)

  - ### indexOfToken

    public int indexOfToken(ClangToken token)

  - ### toDebugString

    public String toDebugString(List<ClangToken> calloutTokens)

  - ### toDebugString

    public String toDebugString(List<ClangToken> calloutTokens, String start, String end)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`