Site Menu Project Specification Implementation Recommendations Reference Needs Updating Work in Progress Wastebasket Wiki Manual |
Output Formats For BITSET TypesTypes
SyntaxThe EBNF for the textual representation of values of bitset types is Values and Value ListsbitsetValue : bitsetNotation; bitsetValueList : bitsetValue ( listSeparator bitsetValue )* ; listSeparator : defaultListSeparator | userDefinedListSeparator | newline ; defaultListSeparator : ',' whitespace ; userDefinedListSeparator : character whitespace? ; Arrays and Array ListsbitsetArray : openingArrayDelimiter bitsetValueList closingArrayDelimiter ; bitsetArrayList : bitsettArray ( listSeparator bitsetArray )* ; openingArrayDelimiter : ( defaultOpeningArrayDelimiter | userDefinedOpeningArrayDelimiter ) whitespace ; closingArrayDelimiter : whitespace ( defaultClosingArrayDelimiter | userDefinedOpeningArrayDelimiter ) ; defaultOpeningArrayDelimiter : '{' ; defaultClosingArrayDelimiter : '}' ; userDefinedOpeningArrayDelimiter : '(' | '[' ; userDefinedClosingArrayDelimiter : ')' | ']' ; Bitset NotationbitsetNotation : unpaddedBitsetValue | leftPaddedBitsetValue | rightPaddedBitsetValue ; leftPaddedBitsetValue : whitespace+ unpaddedBitsetValue ; rightPaddedBitsetValue : unpaddedBitsetValue whitespace+ ; whitespace : ' ' ; unpaddedBitsetValue : simpleFormat | binaryFormat ; simpleFormat : '{' whitespace ( element ( ',' whitespace element )* whitespace )? '}' ; binaryFormat : '{' whitespace ( digitGroup ( digitGroupSeparator digitGroup )* whitespace )? '}' ; element : decimalDigit+ ; digitGroup : binaryDigit+ ; digitGroupSeparator : whitespace | '.' ; decimalDigit : '0' .. '9' ; binaryDigit : '0' | '1' ; newline : <runtime host dependent ASCII control sequence for new line> ; Static Semantics
|