Next: Grammar
Up: MiniJava Language Reference Manual
Previous: MiniJava Language Reference Manual
- Identifiers:
- An identifier is a sequence of letters, digits, and underscores,
starting with a letter. Uppercase letters are distinguished from lowercase.
In this reference manual the symbol id stands for an identifier.
- Integer literals:
- A sequence of decimal digits is an integer constant that denotes
the corresponding integer value.
In this appendix the symbol INTEGER_LITERAL stands for an integer constant.
- Binary operators:
- A binary operator is one of
&& < + - *
In this appendix the symbol op stands for a binary operator.
- Comments:
- A comment may appear between any two tokens.
There are two forms of comments:
one starts with
/*, ends with */, and may be nested;
another begins with // and goes to the end of the line.
Vidyut Ashim Samanta 2002-06-05
© 2002 Cambridge University Press
|