next up previous contents
Next: White Space Up: Lexical Structure Previous: Comments   Contents

Keywords

The keywords of cool are: class, else, false, fi, if, in, inherits, isvoid, let, loop, pool, then, while, case, esac, new, of, not, true. Except for the constants true and false, keywords are case insensitive.

To conform to the rules for other objects, the first letter of true and false must be lowercase; the trailing letters may be upper or lower case. Thus FALse is not a keyword but a type identifier.