FixedOrder

FixedOrder[p1,p2,]

is a grammar rules pattern object that represents a sequence of elements matching p1, p2, , in the fixed order given.

Details

Examples

open allclose all

Basic Examples  (2)

Deploy a grammar that requires elements to appear in a particular order:

Apply the grammar:

Extract elements of a string that appear in a particular order:

By default, elements of StringExpression are already ordered:

Applications  (1)

Deploy a simple calculator that supports infix operators, including precedence:

Apply the calculator grammar and actions:

Wolfram Research (2015), FixedOrder, Wolfram Language function, https://reference.wolfram.com/language/ref/FixedOrder.html.

Text

Wolfram Research (2015), FixedOrder, Wolfram Language function, https://reference.wolfram.com/language/ref/FixedOrder.html.

CMS

Wolfram Language. 2015. "FixedOrder." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FixedOrder.html.

APA

Wolfram Language. (2015). FixedOrder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FixedOrder.html

BibTeX

@misc{reference.wolfram_2024_fixedorder, author="Wolfram Research", title="{FixedOrder}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/FixedOrder.html}", note=[Accessed: 14-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_fixedorder, organization={Wolfram Research}, title={FixedOrder}, year={2015}, url={https://reference.wolfram.com/language/ref/FixedOrder.html}, note=[Accessed: 14-November-2024 ]}