org.eclipse.internal.xtend.expression.ast
Class Case

java.lang.Object
  extended by org.eclipse.internal.xtend.expression.ast.SyntaxElement
      extended by org.eclipse.internal.xtend.expression.ast.Case
All Implemented Interfaces:
ISyntaxElement

public class Case
extends SyntaxElement

Author:
Sven Efftinge (http://www.efftinge.de), Arno Haase, Bernd Kolb

Field Summary
 
Fields inherited from class org.eclipse.internal.xtend.expression.ast.SyntaxElement
end, line, start
 
Constructor Summary
Case(Expression condition, Expression part)
           
 
Method Summary
 Expression getCondition()
           
 Expression getThenPart()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.internal.xtend.expression.ast.SyntaxElement
accept, getEnd, getFileName, getLine, getNameString, getStart, setEnd, setFileName, setLine, setStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Case

public Case(Expression condition,
            Expression part)
Method Detail

getCondition

public Expression getCondition()

getThenPart

public Expression getThenPart()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object