Class ExpansionUtilities


  • public class ExpansionUtilities
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<org.intocps.maestro.ast.AVariableDeclaration> getVariableDeclaration​(org.intocps.maestro.ast.LexIdentifier name, org.intocps.maestro.ast.node.SBlockStm containingBlock, int maxAncestorLevel)
      Looks up the tree for a given variabledeclaration
      static java.util.Optional<org.intocps.maestro.ast.AVariableDeclaration> getVariableDeclaration​(org.intocps.maestro.ast.LexIdentifier name, org.intocps.maestro.ast.node.SBlockStm containingBlock, int maxAncestorLevel, int currentAncestorLevel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExpansionUtilities

        public ExpansionUtilities()
    • Method Detail

      • getVariableDeclaration

        public static java.util.Optional<org.intocps.maestro.ast.AVariableDeclaration> getVariableDeclaration​(org.intocps.maestro.ast.LexIdentifier name,
                                                                                                              org.intocps.maestro.ast.node.SBlockStm containingBlock,
                                                                                                              int maxAncestorLevel)
        Looks up the tree for a given variabledeclaration
        Parameters:
        name -
        containingBlock -
        maxAncestorLevel -
        Returns:
      • getVariableDeclaration

        public static java.util.Optional<org.intocps.maestro.ast.AVariableDeclaration> getVariableDeclaration​(org.intocps.maestro.ast.LexIdentifier name,
                                                                                                              org.intocps.maestro.ast.node.SBlockStm containingBlock,
                                                                                                              int maxAncestorLevel,
                                                                                                              int currentAncestorLevel)