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.sonar.sslr.impl   
com.sonar.sslr.impl.ast   
com.sonar.sslr.impl.matcher   
com.sonarsource.cobol.api   
com.sonarsource.cobol.api.ast   
com.sonarsource.cobol.api.flow   
com.sonarsource.cobol.api.symbol   
org.sonar.sslr.ast   
org.sonar.sslr.internal.ast.select   
org.sonar.sslr.internal.grammar Internals of Grammar API. 
org.sonar.sslr.internal.matchers Internals of Parser. 
org.sonar.sslr.parser   
 

Uses of AstNode in com.sonar.sslr.api
 

Methods in com.sonar.sslr.api that return AstNode
 AstNode AstNode.findFirstChild(AstNodeType... nodeTypes)
          Deprecated. in 1.17, use getFirstDescendant(AstNodeType...) instead
 AstNode AstNode.findFirstDirectChild(AstNodeType... nodeTypes)
          Deprecated. in 1.17, use getFirstChild(AstNodeType...) instead
 AstNode AstNode.findFirstParent(AstNodeType nodeType)
          Deprecated. in 1.17, use getFirstAncestor(AstNodeType) instead
abstract  AstNode PreprocessingDirective.getAst()
           
 AstNode AstNode.getChild(int index)
          Deprecated. in 1.19.2, use getFirstChild(AstNodeType...) instead
 AstNode AstNode.getFirstAncestor(AstNodeType... nodeTypes)
           
 AstNode AstNode.getFirstAncestor(AstNodeType nodeType)
           
 AstNode AstNode.getFirstChild()
          Returns the first child of this node.
 AstNode AstNode.getFirstChild(AstNodeType... nodeTypes)
          Returns first child of one of specified types.
 AstNode AstNode.getFirstDescendant(AstNodeType... nodeTypes)
          Returns first descendant of one of specified types.
 AstNode AstNode.getLastChild()
          Returns the last child of this node.
 AstNode AstNode.getNextAstNode()
          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.getNextSibling()
          Get the next sibling AstNode if exists in the tree.
 AstNode AstNode.getParent()
          Get the parent of this node in the tree.
 AstNode AstNode.getPreviousAstNode()
          Get the previous sibling AstNode in the tree and if this node doesn't exist try to get the next AST Node of the parent.
 AstNode AstNode.getPreviousSibling()
          Get the previous sibling AstNode if exists in the tree.
 AstNode AstNodeBrowser.getResult()
           
 AstNode AstNode.nextAstNode()
          Deprecated. in 1.17, use getNextAstNode() instead
 AstNode AstNode.nextSibling()
          Deprecated. in 1.17, use getNextSibling() instead
 AstNode AstNode.previousAstNode()
          Deprecated. in 1.17, use getPreviousAstNode() instead
 AstNode AstNode.previousSibling()
          Deprecated. in 1.17, use getPreviousSibling()
 

Methods in com.sonar.sslr.api that return types with arguments of type AstNode
 List<AstNode> AstNode.findChildren(AstNodeType... nodeTypes)
          Deprecated. in 1.17, use getDescendants(AstNodeType...) instead, but don't forget that those methods behave differently due to bug SSLR-249
 List<AstNode> AstNode.findDirectChildren(AstNodeType... nodeTypes)
          Deprecated. in 1.17, use getChildren(AstNodeType...) instead
 List<AstNode> AstNode.getChildren()
          Get the list of children.
 List<AstNode> AstNode.getChildren(AstNodeType... nodeTypes)
          Returns children of specified types.
 List<AstNode> AstNode.getDescendants(AstNodeType... nodeTypes)
          Returns descendants of specified types.
 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)
           
static PreprocessingDirective PreprocessingDirective.create(AstNode ast, Grammar grammar)
           
static Trivia Trivia.createPreprocessingDirective(AstNode ast, Grammar grammar)
           
 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.
 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 Branch.getCondition()
           
 

Methods in com.sonar.sslr.api.flow with parameters of type AstNode
 void Branch.setCondition(AstNode condition)
           
 void CobolExecutionFlow.visitFlow(AstNode stmtToStartVisitFrom, CobolExecutionFlowVisitor... visitors)
           
 

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.sonar.sslr.impl
 

Methods in com.sonar.sslr.impl that return AstNode
 AstNode Parser.parse(File file)
           
 AstNode Parser.parse(List<Token> tokens)
           
 AstNode Parser.parse(String source)
           
 

Uses of AstNode in com.sonar.sslr.impl.ast
 

Methods in com.sonar.sslr.impl.ast with parameters of type AstNode
 boolean SkipFromAstIfOnlyOneChild.hasToBeSkippedFromAst(AstNode node)
           
 boolean NeverSkipFromAst.hasToBeSkippedFromAst(AstNode node)
           
 boolean AlwaysSkipFromAst.hasToBeSkippedFromAst(AstNode node)
           
static String AstXmlPrinter.print(AstNode rootNode)
           
static void AstXmlPrinter.print(AstNode rootNode, Writer writer)
           
 void AstWalker.walkAndVisit(AstNode ast)
           
 void AstWalker.walkVisitAndListen(AstNode ast, Object output)
          Deprecated. in 1.18, use AstWalker.walkAndVisit(AstNode) instead
 

Uses of AstNode in com.sonar.sslr.impl.matcher
 

Methods in com.sonar.sslr.impl.matcher with parameters of type AstNode
 boolean RuleDefinition.hasToBeSkippedFromAst(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 HpKeyword.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 that return AstNode
 AstNode CobolStmt.getAstNode()
           
 

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

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

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

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

Methods in com.sonarsource.cobol.api.symbol that return types with arguments of type AstNode
 List<AstNode> Module.getCalls()
           
 

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

Method parameters in com.sonarsource.cobol.api.symbol with type arguments of type AstNode
 void Module.addCalls(List<AstNode> calls)
           
 

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

Uses of AstNode in org.sonar.sslr.ast
 

Methods in org.sonar.sslr.ast that return AstNode
 AstNode AstSelect.get(int index)
          Returns the element at the specified position in this selection.
 

Methods in org.sonar.sslr.ast that return types with arguments of type AstNode
 Iterator<AstNode> AstSelect.iterator()
          Returns an iterator over the elements in this selection.
 

Method parameters in org.sonar.sslr.ast with type arguments of type AstNode
 AstSelect AstSelect.filter(com.google.common.base.Predicate<AstNode> predicate)
          Returns new selection, which contains elements of this selection that satisfy a predicate.
 

Uses of AstNode in org.sonar.sslr.internal.ast.select
 

Methods in org.sonar.sslr.internal.ast.select that return AstNode
 AstNode SingleAstSelect.get(int index)
           
 AstNode ListAstSelect.get(int index)
           
 AstNode EmptyAstSelect.get(int index)
           
 

Methods in org.sonar.sslr.internal.ast.select that return types with arguments of type AstNode
 Iterator<AstNode> SingleAstSelect.iterator()
           
 Iterator<AstNode> ListAstSelect.iterator()
           
 Iterator<AstNode> EmptyAstSelect.iterator()
           
 

Methods in org.sonar.sslr.internal.ast.select with parameters of type AstNode
static AstSelect AstSelectFactory.select(AstNode node)
           
 

Method parameters in org.sonar.sslr.internal.ast.select with type arguments of type AstNode
static AstSelect AstSelectFactory.create(List<AstNode> list)
           
 AstSelect SingleAstSelect.filter(com.google.common.base.Predicate<AstNode> predicate)
           
 AstSelect ListAstSelect.filter(com.google.common.base.Predicate<AstNode> predicate)
           
 AstSelect EmptyAstSelect.filter(com.google.common.base.Predicate<AstNode> predicate)
           
 

Constructors in org.sonar.sslr.internal.ast.select with parameters of type AstNode
SingleAstSelect(AstNode node)
           
 

Constructor parameters in org.sonar.sslr.internal.ast.select with type arguments of type AstNode
ListAstSelect(List<AstNode> list)
           
 

Uses of AstNode in org.sonar.sslr.internal.grammar
 

Methods in org.sonar.sslr.internal.grammar with parameters of type AstNode
 boolean MutableParsingRule.hasToBeSkippedFromAst(AstNode node)
           
 

Uses of AstNode in org.sonar.sslr.internal.matchers
 

Methods in org.sonar.sslr.internal.matchers that return AstNode
static AstNode LexerfulAstCreator.create(ParseNode node, List<Token> tokens)
           
static AstNode AstCreator.create(ParsingResult parsingResult, Text input)
           
 

Uses of AstNode in org.sonar.sslr.parser
 

Methods in org.sonar.sslr.parser that return AstNode
 AstNode ParserAdapter.parse(File file)
           
 AstNode ParserAdapter.parse(List<Token> tokens)
           
 AstNode ParserAdapter.parse(String source)
           
 



Copyright © 2009-2014 SonarSource. All Rights Reserved.