AmbiguityList

AmbiguityList[{expr1,expr2,}]
represents possible results derived from an ambiguous semantic interpretation.

AmbiguityList[{expr1,expr2,},"string"]
represents possible results from semantic interpretation of an input string.

AmbiguityList[{expr1,expr2,},"string",{assoc1,assoc2,}]
includes a sequence of associations giving details of the interpretations used to obtain the .

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Get a list of all possible interpretations:

In[1]:=
Click for copyable input
Out[1]=

AmbiguityList may include a substring whose interpretation is ambiguous:

In[1]:=
Click for copyable input
Out[1]=

Each interpretation may have an Association describing the nature of the corresponding choice:

In[1]:=
Click for copyable input
Out[1]=

Ambiguities can be nested:

In[1]:=
Click for copyable input
Out[1]=

Ambiguities can appear within expressions:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)