BNFNode :: value - Get symbol value for BNF node
The function returns the symbol value for the BNF node, i.e.. the value specified for the symbol in the analyzed expression. When the BNF node is not valid, the function throws an exception.
Return value: String value ( odaba::String & )
Implementation overview
- Get value as defined in expression
BNFNode :: value (  ) - Get normalized value
BNFNode :: value ( bNormalize )
Implementation details
-
Get value as defined in expression
odaba::String BNFNode  :: value (  )
The function returns the value as being defined in the expression.
to list
-
Get normalized value
odaba::String BNFNode  :: value ( bool bNormalize )
When passing true for bNormalized, the function returns a normalized string, i.e. for quoted string values duplicate quotes are reduced and beginning and ending quote are removed.
Notes:String values may be enclosed in '...' or "...". Used quote characters within the string must be duplicated.
- bNormalize - Normalize integer or string
to list