org.sonar.javascript.model
Class TreeImpl.UnaryOperatorTreeImpl

java.lang.Object
  extended by org.sonar.javascript.model.TreeImpl
      extended by org.sonar.javascript.model.TreeImpl.UnaryOperatorTreeImpl
All Implemented Interfaces:
ExpressionTree, Tree, UnaryOperatorTree
Enclosing class:
TreeImpl

public static class TreeImpl.UnaryOperatorTreeImpl
extends TreeImpl
implements UnaryOperatorTree


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.UnaryOperatorTreeImpl(com.sonar.sslr.api.AstNode astNode, com.sonar.sslr.api.AstNodeType operator, ExpressionTree operand)
           
 
Method Summary
protected  void accept(VisitorsDispatcher visitors)
           
 ExpressionTree operand()
           
 com.sonar.sslr.api.AstNodeType operator()
           
 
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.UnaryOperatorTreeImpl

public TreeImpl.UnaryOperatorTreeImpl(com.sonar.sslr.api.AstNode astNode,
                                      com.sonar.sslr.api.AstNodeType operator,
                                      ExpressionTree operand)
Method Detail

operator

public com.sonar.sslr.api.AstNodeType operator()
Specified by:
operator in interface UnaryOperatorTree

operand

public ExpressionTree operand()
Specified by:
operand in interface UnaryOperatorTree

accept

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


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