Class Rule

    • Method Detail

      • fromNode

        public static Rule fromNode​(Node node)
      • getConditions

        public java.util.List<Condition> getConditions()
      • typecheckValue

        protected abstract Type typecheckValue​(Scope<Type> scope)
      • getDocumentation

        public java.util.Optional<java.lang.String> getDocumentation()
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Specified by:
        toNode in interface ToNode
        Returns:
        Returns the creates Node.
      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

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