org.sonar.javascript.model
Class TreeImpl.VariableDeclarationTreeImpl

java.lang.Object
  extended by org.sonar.javascript.model.TreeImpl
      extended by org.sonar.javascript.model.TreeImpl.VariableDeclarationTreeImpl
All Implemented Interfaces:
Tree, VariableDeclarationTree
Enclosing class:
TreeImpl

public static class TreeImpl.VariableDeclarationTreeImpl
extends TreeImpl
implements VariableDeclarationTree


Nested Class Summary
 
Nested classes/interfaces inherited from class org.sonar.javascript.model.TreeImpl
TreeImpl.ArrayLiteralTreeImpl, TreeImpl.BinaryOperatorTreeImpl, TreeImpl.BlockTreeImpl, TreeImpl.BreakStatementTreeImpl, TreeImpl.CaseClauseTreeImpl, TreeImpl.CatchBlockTreeImpl, TreeImpl.CommaOperatorTreeImpl, TreeImpl.ConditionalOperatorTreeImpl, TreeImpl.ContinueStatementTreeImpl, TreeImpl.DebuggerStatementTreeImpl, TreeImpl.DoWhileStatementTreeImpl, TreeImpl.EmptyStatementTreeImpl, TreeImpl.ExpressionStatementTreeImpl, TreeImpl.ForInStatementTreeImpl, TreeImpl.ForStatementTreeImpl, TreeImpl.FunctionCallTreeImpl, TreeImpl.FunctionTreeImpl, TreeImpl.IdentifierTreeImpl, TreeImpl.IfStatementTreeImpl, TreeImpl.IndexAccessTreeImpl, TreeImpl.LabelledStatementTreeImpl, TreeImpl.LiteralTreeImpl, TreeImpl.NewOperatorTreeImpl, TreeImpl.ObjectLiteralTreeImpl, TreeImpl.ParenthesizedTreeImpl, TreeImpl.ProgramTreeImpl, TreeImpl.PropertyAccessTreeImpl, TreeImpl.PropertyAssignmentTreeImpl, TreeImpl.ReturnStatementTreeImpl, TreeImpl.SwitchStatementTreeImpl, TreeImpl.ThrowStatementTreeImpl, TreeImpl.TryStatementTreeImpl, TreeImpl.UnaryOperatorTreeImpl, TreeImpl.VariableDeclarationTreeImpl, TreeImpl.VariableStatementTreeImpl, TreeImpl.WhileStatementTreeImpl, TreeImpl.WithStatementTreeImpl
 
Field Summary
 
Fields inherited from class org.sonar.javascript.model.TreeImpl
astNode
 
Constructor Summary
TreeImpl.VariableDeclarationTreeImpl(com.sonar.sslr.api.AstNode astNode, IdentifierTree identifier, ExpressionTree initialiser)
           
 
Method Summary
protected  void accept(VisitorsDispatcher visitors)
           
 IdentifierTree identifier()
           
 ExpressionTree initialiser()
           
 
Methods inherited from class org.sonar.javascript.model.TreeImpl
as, getLine, is, scan, scan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.javascript.model.Tree
as, getLine, is
 

Constructor Detail

TreeImpl.VariableDeclarationTreeImpl

public TreeImpl.VariableDeclarationTreeImpl(com.sonar.sslr.api.AstNode astNode,
                                            IdentifierTree identifier,
                                            @Nullable
                                            ExpressionTree initialiser)
Method Detail

identifier

public IdentifierTree identifier()
Specified by:
identifier in interface VariableDeclarationTree

initialiser

@Nullable
public ExpressionTree initialiser()
Specified by:
initialiser in interface VariableDeclarationTree

accept

protected void accept(VisitorsDispatcher visitors)
Specified by:
accept in class TreeImpl


Copyright © 2011-2014 SonarSource and Eriks Nukis. All Rights Reserved.