BARfly Help - BAR Implementation File Reference - Fundamental Components

  Identifiers

Identifiers are alphanumeric/underscore tokens that start with either a letter or an underscore, and are not reserved keywords.  An identifier ends before the last consecutive non-alphanumeric/underscore character.

IdentifierName ::= ([a-zA-z] | '_') ([a-zA-z0-9] | '_')*

The meaning of an identifier in a BAR implementation file depends on how the identifier appears in a declaration.

The BAR compiler remembers all identifiers as tokens in the implementation file and stores copies of them in a string table.

Whitespace is needed to separate two consecutive identifiers.  Whitespace is not necessary to separate identifiers from non-alphanumeric/underscore tokens.


  See also:  [Punctuators] [Operators] [Keywords]
[Identifiers] [Numbers] [String literals] [Remarks]
[Preprocessor directives] [Whitespace] [Unrecognized characters]


BARfly Help Copyright © 2009 Christopher Allen