by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

literalSegment — Literal segment

Synopsis

literalSegment ::= """ (
Char - (""" 
newline))* """
 |"'" (
Char - ("'" 
newline))* "'"
 |""""" (["""] ["""] (
Char - """))* """""
 |"'''" (["'"] ["'"] (
Char - "'"))* "'''"

May be included in

datatypeName literal, datatypeName param exceptPattern, datatypes, default namespace, external, include, namespace

XML syntax equivalent

None

Description

The literalSegment production describes literal segments as strings enclosed either in single or double quotes or enclosed in three single or three double quotes using a Python-like syntax.


This text is released under the Free Software Foundation GFDL.