Module hw06

Interface ITokVisitor

All Known Implementing Classes:
ATokVisitor

public interface ITokVisitor
Interface for a token visitor.
  • Method Summary

    Modifier and Type
    Method
    Description
    caseAt​(String id, Token host, Object... params)
    Host Token calls this method with its ID to run its associated processing.
  • Method Details

    • caseAt

      Object caseAt(String id, Token host, Object... params)
      Host Token calls this method with its ID to run its associated processing.
      Parameters:
      id - the id of the host token
      host - the host token
      params - vararg list of input parameters that the processing might need.
      Returns:
      the result of processing the host.