Package org.spockframework.compiler
package org.spockframework.compiler
-
ClassDescriptionProvides access to frequently used AST nodes.Utility methods for AST processing.Rewrites explicit ("assert x > 3") and implicit ("x > 3") condition statements.Walks the statement and expression tree to: - rewrite explicit conditions, - rewrite interactions, - rewrite core language primitives (members of class Specification) - Forbid Also records whether conditions and interactions were found.Reporting facility for problems found during compilation.Groovy AST visitor that allows to replace both statements and expressions.An assignment of the form "x = expr", where x is a field and expr is a field initializer expression.Creates the AST representation of an InteractionBuilder build sequence.Indicates that a spec was found to contain a (syntactic or semantic) error during compilation.Used to represent the argument to Specification.old() once it has been processed by IRewriteResources.captureOldValue().Puts all spec information required at runtime into annotations attached to class members.Given the abstract syntax tree of a Groovy class representing a Spock specification, builds an object model of the specification.A Spec visitor responsible for most of the rewriting of a Spec's AST.AST transformation for rewriting Spock specifications.Adds the ability to replace statements.