A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
Analyser to use for tests.
Assert that a message at index was produced at a given position.
Assert that a message at index was produced at a given position.
Assert that the given messsaging object has recorded the given messages.
Assert that the given messsaging object has recorded the given messages.
Analogous to ScalaTest's assertResult but it uses same to compare
the two values instead of equality.
Analogous to ScalaTest's assertResult but it uses same to compare
the two values instead of equality.
Parse a string and if the parse succeeds, pass the result of the parse to a function for further processing or checking.
Parse a string and if the parse succeeds, pass the result of the parse
to a function for further processing or checking. str is the string to
be parsed and parser is the parser to parse it with. func accepts the
result value of the parse and returns whatever it likes which is returned
from assertParseCheck. Fail if the parse succeeds but doesn't consume
all of str or if the parse fails.
Assert that a parsing operation should not result in success.
Assert that a parsing operation should not result in success.
Try to parse str as a T using parser, which is expected
to not succeed, giving either a fatal error or failure (as specified
by the iserr parameter, which defaults to failure). Fail the test
if the parsing operation succeeds. Furthermore, fail the test if it
fails, but the error or failure is not indicated at the given line
and column location or doesn't contain the given message msg.
Assert that a parsing operation should be performed correctly.
Assert that a parsing operation should be performed correctly.
Try to parse str as a T using parser, which is expected
to succeed and to produce the expected value. Fail if p doesn't
produce the expected value or if parser doesn't consume all of the
input.
Parse a string and if the parse succeeds, return the result of the parse.
Parse a string and if the parse succeeds, return the result of the parse.
str is the string to be parsed and parser is the parser to parse it
with.
Analogous to ScalaTest's assertResult but it uses same to compare
the two values instead of equality.
Analogous to ScalaTest's assertResult but it uses same to compare
the two values instead of equality.
Parse let and letrec expressions
Parse let and letrec expressions
Parse code blocks
Parse code blocks
Continuation handling.
Continuation handling.
The following attribute contains the SECD bytecode generated from the ISWIM syntax node it is attached to.
The following attribute contains the SECD bytecode generated from the ISWIM syntax node it is attached to.
Parse tuple / record expressions
Parse tuple / record expressions
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about reaching the end of the input.
Fail a test with a message about reaching the end of the input.
Fail a test with a message detailing a parse error.
Fail a test with a message detailing a parse error.
Fail a test with a message detailing a parse failure.
Fail a test with a message detailing a parse failure.
Parse if .
Parse if ... then ... else ...
Parse lambda (fun) expressions
Parse lambda (fun) expressions
Parse toplevel statements
Parse toplevel statements
Literals, identifiers, keywords and other atomic phrases
Literals, identifiers, keywords and other atomic phrases
Precedence based infix expression parsers.
Precedence based infix expression parsers. Ordered from highest to lowest precedence.
Top level parsers
Top level parsers
Primitives
Primitives
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Identifiers - keywords and names.
Identifiers - keywords and names.
Parse return expressions
Parse return expressions
Compare two values.
Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.
(Changed in version 2.10.0) stringLiteral allows escaping single and double quotes, but not forward slashes any longer.
References.
References.
Parse while expression
Parse while expression
This method has been deprecated in favor of macro assertion and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This method has been deprecated in favor of macro assertion and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This method has been deprecated in favor of macro assumption and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This method has been deprecated in favor of macro assumption and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of assertResult instead.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of assertResult instead.
This expectResult method has been deprecated. Please replace all invocations of expectResult with an identical invocation of assertResult instead.
This expectResult method has been deprecated. Please replace all invocations of expectResult with an identical invocation of assertResult instead.
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0