VCF::VFFParser Class Reference
A class used for parsing VFF files, at this moment (8/25/2001) meant for internal use only.
More...
#include <vcf/FoundationKit/VFFParser.h>
Inheritance diagram for VCF::VFFParser:
List of all members.
Detailed Description
A class used for parsing VFF files, at this moment (8/25/2001) meant for internal use only.
The Visual Form File (VFF) is a text based format used to store components. The syntax can be represented in Backus-Naur format:
component-decl ::= "object" component-id component-properties
*(component-decl) component-delegates "end"
component-id ::= component-name component-class ["," component-classid]
component-name ::= id
id ::= ALPHA *(ALPHA | DIGIT | '_' )
component-class ::= ALPHA *(ALPHA | DIGIT | '_' | "::" )
component-classid ::= ''' 1*(ALPHA | DIGIT | '-' ) '''
component-properties ::= 1*component-property
component-property ::= property-name '=' property-value
property-name ::= id | property-object-name
property-object-name ::= property-name '.' property-name
property-value ::= property-string | property-number |
property-component-ref | property-enum |
property-enum-mask | property-binary | property-bool
property-string ::= ''' *(ALPHA | DIGIT | 'any printable unicode char' ) '''
property-number ::= 1*DIGIT ['.' 1*(DIGIT) ]
property-component-ref ::= ('@' component-name) | "null"
property-enum ::= id
property-enum-mask ::= '[' property-enum *[',' property-enum] ']'
property-binary ::= '{' binary-data '}'
binary-data ::= 1*(binary-byte)
binary-byte ::= (DIGIT | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' )
(DIGIT | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' )
property-bool ::= "true" | "false"
component-delegates ::= "delegates" *(component-delegate-decl) "end"
component-delegate-decl ::= delegate-name '=' delegate-array
delegate-name ::= id
delegate-array ::= '[' 1*(event-handler-ref) ']'
event-handler-ref ::= component-instance '@' component-callback-method
component-instance ::= id
component-callback-method ::= component-classname "::" component-methodname
component-classname ::= id
component-methodname ::= id
Member Enumeration Documentation
|
|
- Enumerator:
-
| PARSE_BUF_SIZE |
|
| TO_EOF |
|
| TO_SYMBOL |
|
| TO_STRING |
|
| TO_INTEGER |
|
| TO_FLOAT |
|
| TO_COMMENT |
|
|
Constructor & Destructor Documentation
| virtual VCF::VFFParser::~VFFParser |
( |
|
) |
[virtual] |
|
Member Function Documentation
| String VCF::VFFParser::binHexToString |
( |
|
) |
|
|
| void VCF::VFFParser::checkToken |
( |
const VCFChar & |
T |
) |
|
|
| void VCF::VFFParser::checkTokenSymbol |
( |
const String & |
s |
) |
|
|
| void VCF::VFFParser::error |
( |
const String & |
Ident |
) |
|
|
| void VCF::VFFParser::errorStr |
( |
const String & |
Message |
) |
|
|
| int32 VCF::VFFParser::getSourceLine |
( |
|
) |
[inline] |
|
| VCFChar VCF::VFFParser::getToken |
( |
|
) |
[inline] |
|
| VCFChar VCF::VFFParser::nextToken |
( |
|
) |
|
|
| void VCF::VFFParser::resetStream |
( |
|
) |
|
|
| void VCF::VFFParser::restorePosition |
( |
|
) |
|
|
| void VCF::VFFParser::savePosition |
( |
|
) |
|
|
| void VCF::VFFParser::skipBlanks |
( |
|
) |
[protected] |
|
| int32 VCF::VFFParser::sourcePos |
( |
|
) |
|
|
| String VCF::VFFParser::tokenComponentIdent |
( |
|
) |
|
|
| double VCF::VFFParser::tokenFloat |
( |
|
) |
|
|
| int32 VCF::VFFParser::tokenInt |
( |
|
) |
|
|
| String VCF::VFFParser::tokenString |
( |
|
) |
|
|
| bool VCF::VFFParser::tokenSymbolIs |
( |
const String & |
s |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following file: