Class CTypeParser

java.lang.Object
com.ibm.j9ddr.CTypeParser

public class CTypeParser extends Object
Utility class - used for parsing C type declarations. Splits const int[][] into prefix -> const coreType -> int suffix -> [][]
  • Constructor Details

    • CTypeParser

      public CTypeParser(String typeDeclaration)
      Default constructor.
      Parameters:
      typeDeclaration - C type declaration, e.g. int[][][]
  • Method Details

    • getPrefix

      public String getPrefix()
    • getCoreType

      public String getCoreType()
    • getSuffix

      public String getSuffix()