Class SemanticContext.NOT

    • Method Detail

      • genExpr

        public org.stringtemplate.v4.ST genExpr​(CodeGenerator generator,
                                                org.stringtemplate.v4.STGroup templates,
                                                DFA dfa)
        Description copied from class: SemanticContext
        Generate an expression that will evaluate the semantic context, given a set of output templates.
        Specified by:
        genExpr in class SemanticContext
      • getGatedPredicateContext

        public SemanticContext getGatedPredicateContext()
        Description copied from class: SemanticContext
        Given a semantic context expression tree, return a tree with all nongated predicates set to true and then reduced. So p&&(q||r) would return p&&r if q is nongated but p and r are gated.
        Specified by:
        getGatedPredicateContext in class SemanticContext
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object