Package org.sonar.iac.terraform.symbols
Class AttributeSymbol
- java.lang.Object
-
- org.sonar.iac.common.checkdsl.ContextualTree<S,T>
-
- org.sonar.iac.common.checkdsl.ContextualPropertyTree<AttributeSymbol,AttributeTree,ExpressionTree>
-
- org.sonar.iac.terraform.symbols.AttributeSymbol
-
public class AttributeSymbol extends ContextualPropertyTree<AttributeSymbol,AttributeTree,ExpressionTree>
-
-
Field Summary
-
Fields inherited from class org.sonar.iac.common.checkdsl.ContextualTree
ctx, name, tree
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttributeSymbol(CheckContext ctx, AttributeTree tree, String name, BlockSymbol parent)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeSymbolfromAbsent(CheckContext ctx, String name, BlockSymbol parent)static AttributeSymbolfromPresent(CheckContext ctx, AttributeTree tree, BlockSymbol parent)-
Methods inherited from class org.sonar.iac.common.checkdsl.ContextualPropertyTree
asString, is, reportIf
-
Methods inherited from class org.sonar.iac.common.checkdsl.ContextualTree
ifPresent, isAbsent, isPresent, report, report, reportIfAbsent, reportIfAbsent, toHighlight, toSecondary
-
-
-
-
Constructor Detail
-
AttributeSymbol
protected AttributeSymbol(CheckContext ctx, AttributeTree tree, String name, BlockSymbol parent)
-
-
Method Detail
-
fromPresent
public static AttributeSymbol fromPresent(CheckContext ctx, AttributeTree tree, BlockSymbol parent)
-
fromAbsent
public static AttributeSymbol fromAbsent(CheckContext ctx, String name, BlockSymbol parent)
-
-