Package relaxngcc.codedom
Class CDExpression
- java.lang.Object
-
- relaxngcc.codedom.CDExpression
-
- Direct Known Subclasses:
CDCastExpression,CDConstant,CDLanguageSpecificString,CDMethodInvokeExpression,CDObjectCreateExpression,CDVariable
public abstract class CDExpression extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CDExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CDObjectCreateExpression_new(CDType type)Creates a new instance of an inner class from this expression.CDExpressionarrayRef(int index)CDExpressionarrayRef(CDExpression index)Refers to an item of the arrayCDExpressioncastTo(CDType t)Casts to another type.CDMethodInvokeExpressioninvoke(java.lang.String method)Invokes a method on this expression.CDExpressionnot()Creates !xCDExpressionprop(java.lang.String name)Refers to a property of this expression.
-
-
-
Method Detail
-
invoke
public CDMethodInvokeExpression invoke(java.lang.String method)
Invokes a method on this expression.
-
arrayRef
public CDExpression arrayRef(CDExpression index)
Refers to an item of the array
-
arrayRef
public CDExpression arrayRef(int index)
-
prop
public CDExpression prop(java.lang.String name)
Refers to a property of this expression.
-
not
public CDExpression not()
Creates !x
-
castTo
public CDExpression castTo(CDType t)
Casts to another type.
-
_new
public CDObjectCreateExpression _new(CDType type)
Creates a new instance of an inner class from this expression.
-
-