org.sonar.javascript.model
Class TreeImpl.PropertyAssignmentTreeImpl

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

public static class TreeImpl.PropertyAssignmentTreeImpl
extends TreeImpl
implements PropertyAssignmentTree


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
protected TreeImpl.PropertyAssignmentTreeImpl(com.sonar.sslr.api.AstNode astNode, Tree propertyName, ExpressionTree expression, List<IdentifierTree> propertySetParameters, List<? extends SourceElementTree> body)
           
 
Method Summary
protected  void accept(VisitorsDispatcher visitors)
           
 List<? extends SourceElementTree> body()
           
 ExpressionTree expression()
           
 Tree propertyName()
           
 List<IdentifierTree> propertySetParameters()
           
 
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.PropertyAssignmentTreeImpl

protected TreeImpl.PropertyAssignmentTreeImpl(com.sonar.sslr.api.AstNode astNode,
                                              Tree propertyName,
                                              @Nullable
                                              ExpressionTree expression,
                                              @Nullable
                                              List<IdentifierTree> propertySetParameters,
                                              @Nullable
                                              List<? extends SourceElementTree> body)
Method Detail

propertyName

public Tree propertyName()
Specified by:
propertyName in interface PropertyAssignmentTree

expression

@Nullable
public ExpressionTree expression()
Specified by:
expression in interface PropertyAssignmentTree

propertySetParameters

@Nullable
public List<IdentifierTree> propertySetParameters()
Specified by:
propertySetParameters in interface PropertyAssignmentTree

body

@Nullable
public List<? extends SourceElementTree> body()
Specified by:
body in interface PropertyAssignmentTree

accept

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


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