Class SemanticMatcher

java.lang.Object
net.covers1624.coffeegrinder.bytecode.SemanticMatcher

public class SemanticMatcher extends Object
Matches a tree of instructions to another tree of instructions.

Created by covers1624 on 2/6/21.

  • Field Details

    • blockMap

      public final Map<Block,Block> blockMap
      The block match map. Left hand block to Right hand block.
    • leftFail

      @Nullable public @Nullable Instruction leftFail
    • rightFail

      @Nullable public @Nullable Instruction rightFail
    • matchedEndpoint

      @Nullable public @Nullable Instruction matchedEndpoint
      The right hand side endpoint.
  • Constructor Details

    • SemanticMatcher

      public SemanticMatcher(@Nullable @Nullable Instruction endpoint)
      Construct a new Semantic matcher.
      Parameters:
      endpoint - The Left hand side endpoint.
  • Method Details