Class LabelNode

java.lang.Object
org.infosmid.stream.dsl.AstNode
org.infosmid.stream.dsl.LabelNode

public class LabelNode extends AstNode
Represents a label attached to a module.
  • Constructor Details

    • LabelNode

      public LabelNode(String label, int startpos, int endpos)
  • Method Details

    • stringify

      public String stringify(boolean includePositionalInfo)
      Specified by:
      stringify in class AstNode
      Parameters:
      includePositionalInfo - position information is returned as a part of the result if set to true.
      Returns:
      a string representation of the AST. Useful for debugging/testing.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLabelName

      public String getLabelName()