Class AComment

java.lang.Object
edu.unc.cs.comp524.parsers.prolog.AComment
All Implemented Interfaces:
Comment

public class AComment
extends Object
implements Comment
The default concrete Comment implementation.
  • Constructor Details

    • AComment

      public AComment​(String s)
    • AComment

      public AComment​(org.antlr.v4.runtime.Token t)
      Constructor for use with PrologParser-related objects.
      Parameters:
      t - Token from which to derive text
    • AComment

      public AComment​(List<org.antlr.v4.runtime.Token> ts)
      Constructor for use with PrologParser-related objects.
      Parameters:
      ts - Tokens from which to derive text
  • Method Details