Package org.intocps.maestro.plugin
Class ExpansionUtilities
- java.lang.Object
-
- org.intocps.maestro.plugin.ExpansionUtilities
-
public class ExpansionUtilities extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExpansionUtilities()
-
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 variabledeclarationstatic 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)
-
-
-
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)
-
-