Package com.spertus.jacquard.syntaxgrader


package com.spertus.jacquard.syntaxgrader
Syntax-based grader, which scores code based on its parse tree.
See Also:
  • Classes
    Class
    Description
    A grader to test whether the number of occurrences of a given expression type is within the specified range.
    A grader to test whether the number of occurrences of the given expression and statement types are in the specified numeric range.
    Checks whether the correct modifiers are used for fields (instance and static variables/constants).
    Checks whether imports on a package blocklist are present.
    Checks whether any imports are found from packages that are not on an explicit allowlist.
    Abstract superclass of graders that check whether there are any imports of packages that are not allowed.
    Checks whether required imports appear in a submission.
    Checks whether the correct modifiers are used for methods (instance and static).
    A wrapper around a mutable integer value.
    A wrapper for JavaParser.
    A counter to test whether the number of occurrences of a given statement type is within the specified range.
    A grader that counts the number of occurrences of string interpolation.
    The base class for syntax-based graders that may involve multiple items of the same type.
    A grader that counts whether the number of parse nodes satisfying a given predicate is in the specified range.
    A grader to test whether exactly the specified number of parse nodes satisfy a predicate.
    The base class for counters to test whether the number of occurrences of a syntactic element is within the specified range.
    The base class for syntax-based graders that make use of the linked Java parser.