Class LocatedMessage

    • Field Detail

      • context

        protected CSTNode context
    • Constructor Detail

      • LocatedMessage

        public LocatedMessage​(java.lang.String message,
                              CSTNode context,
                              SourceUnit source)
      • LocatedMessage

        public LocatedMessage​(java.lang.String message,
                              java.lang.Object data,
                              CSTNode context,
                              SourceUnit source)
    • Method Detail

      • getContext

        public CSTNode getContext()
      • write

        public void write​(java.io.PrintWriter writer,
                          Janitor janitor)
        Description copied from class: Message
        Writes the message to the specified PrintWriter. The supplied ProcessingUnit is the unit that holds this Message.
        Overrides:
        write in class SimpleMessage