Class SleighConstructorTraversal

    • Constructor Detail

      • SleighConstructorTraversal

        public SleighConstructorTraversal​(SleighLanguage lang)
        Prepare to traverse the constructors of a given SLEIGH language
        Parameters:
        lang - the language
    • Method Detail

      • traverse

        public int traverse​(ConstructorEntryVisitor visitor)
        Traverse the constructors in the language
        Parameters:
        visitor - a callback for each constructor
        Returns:
        a value from VisitorResults