## Uses of Class
s3games.engine.expr.Context

- Packages that use Context
  Package | Description
  --- | ---
  s3games.engine |
  s3games.engine.expr |

- - ### Uses of Context in s3games.engine

    Methods in s3games.engine with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `void` | GameRule.`addScores(Context context)` modify the player scores after this rule was matched
    `java.util.ArrayList<Move>` | GameRule.`getMatchingMoves(Element el, GameSpecification specs, Context context)` list of moves that can be performed from this state with the element specified in the first argument
    `boolean` | GameRule.`matches(Move move, Context context)` verifies whether the specified move conforms to this rule in the provided context
    `void` | GameRule.`performAction(Context context)` perform the follow-up action, after this rule was matched

  - ### Uses of Context in s3games.engine.expr

    Methods in s3games.engine.expr with parameters of type Context
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Expr.`equals(Expr other, Context context)` compares if the values of this expression and the other expression are the same
    `abstract Expr` | Expr.`eval(Context context)` evaluates this expression and returns the resulting value
    `boolean` | Expr.`matches(IndexedName name, Context context)` stub to be overriden by expressions that are of string type - it should set the variables in the context, if the expression contains variable references
    `boolean` | Expr.`matches(int i, Context context)` stub to be overriden by expressions that are of numeric type - it should set the variables in the context, if the expression is a variable
    `boolean` | Expr.`matches(java.lang.String s, Context context)` stub to be overriden by expressions that are of string type - it should set the variables in the context, if the expression contains variable references