Class ExpansionUtilities

java.lang.Object
org.intocps.maestro.plugin.ExpansionUtilities

public class ExpansionUtilities extends Object
  • Constructor Details

    • ExpansionUtilities

      public ExpansionUtilities()
  • Method Details

    • getVariableDeclaration

      public static Optional<AVariableDeclaration> getVariableDeclaration(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 Optional<AVariableDeclaration> getVariableDeclaration(LexIdentifier name, org.intocps.maestro.ast.node.SBlockStm containingBlock, int maxAncestorLevel, int currentAncestorLevel)