Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <CBNFNode.h>
Link against: wnode.lib

Class CBNFNode

class CBNFNode : public CTypedNode< TInt, const TDesC * >;

Description

Backus-Naur Form (BNF) node that forms part of a BNF tree (CBNFParser).

Node types are stored as TInts, and attribute types as descriptors.

Derivation

Members

Defined in CBNFNode:


Construction and destruction


~CBNFNode()

IMPORT_C ~CBNFNode();

Description

Destructor.


NewL(TInt)

IMPORT_C static CBNFNode* NewL(TInt aType);

Description

Allocates and constructs a new parentless node.

Parameters

TInt aType

The type of the node

Return value

CBNFNode *

New parentless node


CBNFNode(TInt)

protected: IMPORT_C CBNFNode(TInt aType);

Description

Parameters

TInt aType

[Top]


Member functions


KPreRuleCallback()

IMPORT_C static CBNFNodeAttributeType KPreRuleCallback();

Description

Gets the pre-rule callback attribute type.

Return value

CBNFNodeAttributeType

Pre-rule callback attribute type


KPostRuleCallback()

IMPORT_C static CBNFNodeAttributeType KPostRuleCallback();

Description

Gets the post-rule callback attribute type.

Return value

CBNFNodeAttributeType

Post-rule callback attribute type


KReference()

IMPORT_C static CBNFNodeAttributeType KReference();

Description

Gets the reference attribute type.

Return value

CBNFNodeAttributeType

Reference attribute type


KRangeStart()

IMPORT_C static CBNFNodeAttributeType KRangeStart();

Description

Gets the range start attribute type.

Return value

CBNFNodeAttributeType

Range start attribute type


KRangeEnd()

IMPORT_C static CBNFNodeAttributeType KRangeEnd();

Description

Gets the range end attribute type.

Return value

CBNFNodeAttributeType

Range end attribute type


KNMoreCount()

IMPORT_C static CBNFNodeAttributeType KNMoreCount();

Description

Gets the match n or more times attribute type.

Return value

CBNFNodeAttributeType

Match n or more times attribute type


KNMoreMinimum()

IMPORT_C static CBNFNodeAttributeType KNMoreMinimum();

Description

Gets the match n or more minimum times attribute type.

Return value

CBNFNodeAttributeType

Match n or more minimum times attribute type


KNMoreMaximum()

IMPORT_C static CBNFNodeAttributeType KNMoreMaximum();

Description

Gets the match n or more maximum times attribute type.

Return value

CBNFNodeAttributeType

Match n or more maximum times attribute type