Module openj9.dtfj
Package com.ibm.j9ddr

Class CTypeParser


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

      • CTypeParser

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

      • getPrefix

        public String getPrefix()
      • getCoreType

        public String getCoreType()
      • getSuffix

        public String getSuffix()