<!-- $XConsortium: ParTabA.sgm /main/7 1996/08/30 15:53:05 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN341.rsml.1">
<RefMeta>
<RefEntryTitle>XmParseTable</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><StructName Role="typedef">XmParseTable</StructName></RefName>
<RefPurpose>Data type for a compound string parse table
<IndexTerm>
<Primary>XmParseTable</Primary>
</IndexTerm><IndexTerm>
<Primary>data types</Primary>
<Secondary>XmParseTable</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<RefSynopsisDiv>
<Synopsis>&npzwc;#include &lt;Xm/Xm.h>
</Synopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><StructName Role="typedef">XmParseTable</StructName> is the data type for an array of parse mappings
(objects of type <StructName Role="typedef">XmParseMapping</StructName>).
</Para>
<Para>A parse table is used by some routines that parse and unparse compound
strings.
The table is an ordered list of parse mappings.
A parsing routine that uses a parse table scans the input text and
searches the parse mappings, in order, for one containing a pattern that
matches the input text.
The matching parse mapping supplies a compound string to be included in
the compound string under construction.
</Para>
<Para>An unparsing routine that uses a parse table searches the parse
mappings, in order, for one containing a compound string that matches
the input compound string.
The unparsing routine can then include the parse mapping's text pattern
in the output text under construction.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmParseMapping;,
&cdeman.XmParseTableFree;, and
&cdeman.XmString;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
