A string that represents an architecture. An “architecture” defines the sizes of variable-sized types and the properties of alignment for fields of various types. Two are provided out-of-the-box: ILP32 and LP64, corresponding to gcc’s behavior on x86 and amd64.
Gets the desired alignment boundary of type
Holds if this architecture allow bitfields with declared types of different sizes to be packed together.
Gets the bit size of class
Gets the bit size of type
Gets the alignment boundary for doubles, in bits.
Gets the alignment of enum type
Gets the bit size of enum type
Gets the bit size of type
Gets the alignment boundary for long doubles, in bits.
Gets the size of a ‘long double’, in bits.
Gets the alignment boundary for long longs, in bits.
Gets the size of a ‘long long’, in bits.
Gets the size of a ‘long int’, in bits.
Gets the padded size of type
Gets the size of a pointer, in bits.
Gets the wasted space of type
Gets the size of a ‘wchar_t’, in bits.
Returns a one-character string containing the character in the receiver at the given index (which ranges from 0 through length minus one)
Returns all the offsets at which the given string occurs in the receiver
Returns the index of n’th occurrence of the given string within receiver, starting at the given offset
Holds when the receiver contains no upper-case letters
Holds when the receiver contains no lower-case letters
Returns the length of the receiver (in UTF-16 code units)
Holds when the receiver matches the pattern. Patterns are matched by case sensitive string matching, and there are two wildcards: _ matches a single character, and % matches any sequence of characters. To match the actual characters _ or % in the pattern, they must be escaped using backslashes. For example,
Returns the substring of the receiver ending at the given offset
When the given regexp matches the entire receiver, returns the substring matched by the given capture group
Returns a substring of the receiver which matches the given regexp. Also returns the offset within the receiver at which the match occurred (occurrenceOffset), and the number of matches which occur at smaller offsets (occurrenceIndex)
Holds when the given regexp matches the entire receiver
Returns a copy of the receiver with every substring which matches the given regexp is replaced by the replacement
Returns a copy of the receiver with all occurrences of the target replaced by the replacement
Returns all of the substrings obtained by splitting the receiver at every occurrence of the argument
Returns the n’th substring obtained by splitting the receiver at every occurrence of the argument
Returns the substring of the receiver which starts and ends at the given indices
Returns the substring of the receiver starting at the given offset
Returns the date, if any, obtained by parsing the receiver
Returns the floating point number, if any, obtained by parsing the receiver
Returns the integer, if any, obtained by parsing the receiver
Returns a copy of the receiver with all uppercase characters replaced by lowercase ones
Returns the receiver
Returns a copy of the receiver with all lowercase characters replaced by uppercase ones
Returns a copy of the receiver with all whitespace removed from the beginning and end of the string (where whitespace is defined as unicode codepoints ‘\u0000’ through ‘\u0020’ inclusive)