Package org.intocps.maestro.plugin
Class ExpansionUtilities
java.lang.Object
org.intocps.maestro.plugin.ExpansionUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-