Class SrcOp

    • Field Detail

      • uniqueID

        public int uniqueID
        Used to create unique var names etc...
      • enclosingBlock

        public CodeBlock enclosingBlock
        All operations know in which block they live: CodeBlock, CodeBlockForAlt Templates might need to know block nesting level or find a specific declaration, etc...
      • enclosingRuleRunction

        public RuleFunction enclosingRuleRunction
    • Method Detail

      • getOuterMostAltCodeBlock

        public CodeBlockForOuterMostAlt getOuterMostAltCodeBlock()
        Walk upwards in model tree, looking for outer alt's code block
      • getContextName

        public String getContextName()
        Return label alt or return name of rule