Interface PropertyStatement
- All Superinterfaces:
ClassItem,OS_Element,OS_NamedElement
- All Known Implementing Classes:
PropertyStatementImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGet()voidaddSet()get_fn()voidname()The name of the elementdefault voidset_fn()voidvoidsetName(IdentExpression prop_name) voidsetTypeName(TypeName typeName) voidvisitGen(ElElementVisitor visit) Methods inherited from interface tripleo.elijah_durable_congenial.lang.i.ClassItem
getAccess, getCategory, setAccess, setCategoryMethods inherited from interface tripleo.elijah_durable_congenial.lang.i.OS_Element
asStringMethods inherited from interface tripleo.elijah_durable_congenial.lang.i.OS_NamedElement
getEnName
-
Method Details
-
addGet
void addGet() -
addSet
void addSet() -
get_fn
FunctionDef get_fn() -
get_scope
-
getContext
Context getContext()- Specified by:
getContextin interfaceOS_Element
-
getParent
OS_Element getParent()- Specified by:
getParentin interfaceOS_Element
-
getTypeName
TypeName getTypeName() -
name
OS_ElementName name()Description copied from interface:OS_NamedElementThe name of the element
Returns an
OS_ElementName, that has #asString()TODO Should this be a
IdentExpression?- Specified by:
namein interfaceOS_NamedElement- Returns:
- an
OS_ElementName
-
set_fn
FunctionDef set_fn() -
set_scope
-
setName
-
setTypeName
-
visitGen
- Specified by:
visitGenin interfaceOS_Element
-
serializeTo
- Specified by:
serializeToin interfaceClassItem- Specified by:
serializeToin interfaceOS_Element
-