Uses of Class
com.sonar.sslr.api.AstNode

Packages that use AstNode
com.sonar.sslr.api   
com.sonar.sslr.api.flow   
com.sonar.sslr.api.symbol   
com.sonarsource.cobol.api   
com.sonarsource.cobol.api.ast   
com.sonarsource.cobol.api.flow   
com.sonarsource.cobol.api.symbol   
 

Uses of AstNode in com.sonar.sslr.api
 

Methods in com.sonar.sslr.api that return AstNode
 AstNode AstNode.findFirstChild(AstNodeType... nodeTypes)
          Find the first child among all children and grand-children having one of the requested types.
 AstNode AstNode.findFirstDirectChild(AstNodeType... nodeTypes)
          Find the first child among all direct children having one of the requested types.
 AstNode AstNode.findFirstParent(AstNodeType nodeType)
          Find the first parent with the desired node type
 AstNode AstNode.getChild(int index)
          Get the desired child
 AstNode AstNode.getFirstChild()
          Get the first child of this node
 AstNode AstNode.getLastChild()
          Get the last child of this node
 AstNode AstNode.getParent()
          Get the parent of this node in the tree.
 AstNode AstNodeBrowser.getResult()
           
 AstNode AstNode.nextAstNode()
          Get the next sibling AstNode in the tree and if this node doesn't exist try to get the next AST Node of the parent.
 AstNode AstNode.nextSibling()
          Get the next sibling AstNode if exists in the tree.
 AstNode AstNode.previousSibling()
          Get the previous sibling AstNode if exists in the tree.
 

Methods in com.sonar.sslr.api that return types with arguments of type AstNode
 List<AstNode> AstNode.findChildren(AstNodeType nodeType)
          Find the all children having the requested type.
 List<AstNode> AstNode.findDirectChildren(AstNodeType nodeType)
          Find the all children among direct children having the requested type.
 List<AstNode> AstNode.getChildren()
          Get the list of children.
 List<AstNode> AstNodeBrowser.getResults()
           
 

Methods in com.sonar.sslr.api with parameters of type AstNode
 void AstNode.addChild(AstNode child)
           
static AstNodeBrowser AstNodeBrowser.browse(AstNode rootNode)
           
 boolean TokenType.hasToBeSkippedFromAst(AstNode node)
           
 boolean GenericTokenType.hasToBeSkippedFromAst(AstNode node)
           
 boolean AstNodeSkippingPolicy.hasToBeSkippedFromAst(AstNode node)
          Some AstNode can be pretty useless and makes a global AST less readable.
 void AstVisitor.leaveFile(AstNode ast)
          Called once a computation unit tree has been fully visited.
 void AstVisitor.leaveNode(AstNode ast)
          Called once an AST node has been fully visited.
abstract  void AstListener.startListening(AstNode astNode, OUTPUT output)
           
 void AstListener.stopListening(AstNode astNode, OUTPUT output)
           
 void AstVisitor.visitFile(AstNode ast)
          Called before starting visiting a computation unit tree.
 void AstVisitor.visitNode(AstNode ast)
          Called to process an AST node whose type has been registered to be visited.
 

Constructors in com.sonar.sslr.api with parameters of type AstNode
AstNodeBrowser(AstNode rootNode)
           
 

Uses of AstNode in com.sonar.sslr.api.flow
 

Methods in com.sonar.sslr.api.flow that return AstNode
 AstNode Statement.getAstNode()
           
 

Methods in com.sonar.sslr.api.flow with parameters of type AstNode
 STATEMENT ExecutionFlowEngine.getStatement(AstNode stmtNode)
           
 void ExecutionFlowEngine.visitFlow(AstNode stmtToStartVisitFrom)
           
 void ExecutionFlowEngine.visitFlow(AstNode stmtToStartVisitFrom, ExecutionFlowVisitor<STATEMENT>... visitors)
           
 void ExecutionFlow.visitFlow(AstNode stmtToStartVisitFrom, ExecutionFlowVisitor<STATEMENT>... visitors)
           
 

Constructors in com.sonar.sslr.api.flow with parameters of type AstNode
Statement(AstNode stmtAstNode)
           
 

Uses of AstNode in com.sonar.sslr.api.symbol
 

Methods in com.sonar.sslr.api.symbol that return AstNode
 AstNode Symbol.getAstNode()
           
 

Constructors in com.sonar.sslr.api.symbol with parameters of type AstNode
Symbol(AstNode node)
           
 

Uses of AstNode in com.sonarsource.cobol.api
 

Methods in com.sonarsource.cobol.api with parameters of type AstNode
 boolean SQLKeyword.hasToBeSkippedFromAst(AstNode node)
           
 boolean MicrofocusKeyword.hasToBeSkippedFromAst(AstNode node)
           
 boolean GcosKeyword.hasToBeSkippedFromAst(AstNode node)
           
 boolean DliKeyword.hasToBeSkippedFromAst(AstNode node)
           
 boolean CobolTokenType.hasToBeSkippedFromAst(AstNode node)
           
 boolean CobolSpecialCharacter.hasToBeSkippedFromAst(AstNode node)
           
 boolean CobolKeyword.hasToBeSkippedFromAst(AstNode node)
           
 boolean CICSKeyword.hasToBeSkippedFromAst(AstNode node)
           
 boolean AcuCobolTokenType.hasToBeSkippedFromAst(AstNode node)
           
 boolean AcuCobolKeyword.hasToBeSkippedFromAst(AstNode node)
           
 

Uses of AstNode in com.sonarsource.cobol.api.ast
 

Methods in com.sonarsource.cobol.api.ast with parameters of type AstNode
 void CobolAstVisitor.leaveFile(AstNode astNode)
          Called once a computation unit tree has been fully visited.
 void CobolAstVisitor.leaveNode(AstNode astNode)
          Called once an AST node has been fully visited.
protected  void CobolAstCheck.log(String messageText, AstNode node, Object... messageParameters)
          Log a violation on an AstNode
 void CobolAstVisitor.visitFile(AstNode astNode)
          Called before starting visiting a computation unit tree.
 void CobolAstVisitor.visitNode(AstNode astNode)
          Called to process an AST node whose type has been registered to be visited.
 

Uses of AstNode in com.sonarsource.cobol.api.flow
 

Methods in com.sonarsource.cobol.api.flow with parameters of type AstNode
protected  void CobolStatement.setOutputDataItem(AstNode qualifiedDataNameNode)
           
 

Method parameters in com.sonarsource.cobol.api.flow with type arguments of type AstNode
protected  void CobolStatement.setInputDataItems(List<AstNode> qualifiedDataNameNodes)
           
protected  void CobolStatement.setOutputDataItems(List<AstNode> qualifiedDataNameNodes)
           
 

Constructors in com.sonarsource.cobol.api.flow with parameters of type AstNode
CobolStatement(AstNode stmtAstNode, CobolGrammar grammar, CobolSymbolTable symbolTable)
           
 

Uses of AstNode in com.sonarsource.cobol.api.symbol
 

Methods in com.sonarsource.cobol.api.symbol that return AstNode
 AstNode Module.getFromPerformProcedureScope()
           
 

Methods in com.sonarsource.cobol.api.symbol with parameters of type AstNode
static DataItem DataItemFinder.find(CobolGrammar grammar, CobolSymbolTable symbolTable, AstNode qualifiedDataNameNode)
           
 

Constructors in com.sonarsource.cobol.api.symbol with parameters of type AstNode
DataItem(AstNode node)
           
FileSymbol(String name, AstNode node)
           
Module(Procedure startProcedure, AstNode fromPerformProcedureScope)
           
Module(Procedure startProcedure, Procedure endProcedure, AstNode fromPerformProcedureScope)
           
Paragraph(String name, AstNode node)
           
Procedure(String name, AstNode node)
           
Section(String name, AstNode node)
           
 



Copyright © 2011 SonarSource. All Rights Reserved.