Package org.intocps.maestro.plugin
Class ExpansionUtilities
- java.lang.Object
-
- org.intocps.maestro.plugin.ExpansionUtilities
-
public class ExpansionUtilities extends Object
-
-
Constructor Summary
Constructors Constructor Description ExpansionUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<AVariableDeclaration>getVariableDeclaration(LexIdentifier name, org.intocps.maestro.ast.node.SBlockStm containingBlock, int maxAncestorLevel)Looks up the tree for a given variabledeclarationstatic Optional<AVariableDeclaration>getVariableDeclaration(LexIdentifier name, org.intocps.maestro.ast.node.SBlockStm containingBlock, int maxAncestorLevel, int currentAncestorLevel)
-
-
-
Method Detail
-
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)
-
-