Class BaseFunctionDef
java.lang.Object
tripleo.elijah_durable_congenial.lang.impl.BaseFunctionDef
- All Implemented Interfaces:
ClassItem,Documentable,FunctionDef,OS_Container,OS_Element,OS_NamedElement
- Direct Known Subclasses:
ConstructorDefImpl,DefFunctionDefImpl,DestructorDefImpl,FuncExprImpl,FunctionDefImpl
public abstract class BaseFunctionDef
extends Object
implements FunctionDef, Documentable, ClassItem, OS_Container, OS_NamedElement
Created 6/27/21 6:42 AM
-
Nested Class Summary
Nested classes/interfaces inherited from interface tripleo.elijah_durable_congenial.lang.i.FunctionDef
FunctionDef.Species -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EN_Name@NotNull Attachedprotected FunctionDef.Speciesprotected IdentExpressionprotected FormalArgListprotected FunctionModifiersprotected TypeNameprotected Scope3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(FunctionItem seq) voidvoidaddDocString(antlr.Token aText) voidaddToContainer(OS_Element anElement) @NotNull Iterable<AnnotationPart>fal()@NotNull List<FormalArgListItem>getArgs()@NotNull List<FunctionItem>getItems()abstract @Nullable OS_ElementbooleanhasItem(OS_Element element) @NotNull List<OS_NamedElement>items()name()The name of the elementabstract void@Nullable TypeNamevoidvoidvoidset(FunctionModifiers mod) voidsetAbstract(boolean b) voidsetAccess(AccessNotation aNotation) voidsetAnnotations(List<AnnotationClause> aAnnotationClauses) voidsetBody(FunctionBody aFunctionBody) voidsetCategory(El_Category aCategory) voidvoidsetFal(FormalArgList fal) abstract voidsetHeader(FunctionHeader aFunctionHeader) voidsetName(IdentExpression aText) voidvoidsetSpecies(FunctionDef.Species aSpecies) voidvisitGen(ElElementVisitor visit) voidwalkAnnotations(@NotNull AnnotationWalker annotationWalker) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tripleo.elijah_durable_congenial.lang.i.FunctionDef
toStringMethods inherited from interface tripleo.elijah_durable_congenial.lang.i.OS_Element
asString
-
Field Details
-
_a
-
_species
-
mFal
-
scope3
-
funName
-
mod
-
rt
-
__n
-
-
Constructor Details
-
BaseFunctionDef
public BaseFunctionDef()
-
-
Method Details
-
add
- Specified by:
addin interfaceFunctionDef
-
fal
- Specified by:
falin interfaceFunctionDef
-
getItems
- Specified by:
getItemsin interfaceFunctionDef
-
getNameNode
- Specified by:
getNameNodein interfaceFunctionDef
-
items
- Specified by:
itemsin interfaceFunctionDef- Specified by:
itemsin interfaceOS_Container
-
scope
- Specified by:
scopein interfaceFunctionDef
-
setBody
- Specified by:
setBodyin interfaceFunctionDef
-
getArgs
- Specified by:
getArgsin interfaceFunctionDef
-
setFal
- Specified by:
setFalin interfaceFunctionDef
-
setHeader
- Specified by:
setHeaderin interfaceFunctionDef
-
setSpecies
- Specified by:
setSpeciesin interfaceFunctionDef
-
setReturnType
- Specified by:
setReturnTypein interfaceFunctionDef
-
getOS_Type
- Specified by:
getOS_Typein interfaceFunctionDef
-
getParent
- Specified by:
getParentin interfaceFunctionDef- Specified by:
getParentin interfaceOS_Element
-
getSpecies
- Specified by:
getSpeciesin interfaceFunctionDef
-
visitGen
- Specified by:
visitGenin interfaceFunctionDef- Specified by:
visitGenin interfaceOS_Element
-
serializeTo
- Specified by:
serializeToin interfaceClassItem- Specified by:
serializeToin interfaceFunctionDef- Specified by:
serializeToin interfaceOS_Element
-
addToContainer
- Specified by:
addToContainerin interfaceOS_Container
-
addAnnotation
-
postConstruct
public abstract void postConstruct()- Specified by:
postConstructin interfaceFunctionDef
-
returnType
- Specified by:
returnTypein interfaceFunctionDef
-
addDocString
public void addDocString(antlr.Token aText) - Specified by:
addDocStringin interfaceDocumentable
-
set
- Specified by:
setin interfaceFunctionDef
-
setAbstract
public void setAbstract(boolean b) - Specified by:
setAbstractin interfaceFunctionDef
-
annotationIterable
-
setAnnotations
- Specified by:
setAnnotationsin interfaceFunctionDef
-
getAccess
-
getCategory
- Specified by:
getCategoryin interfaceClassItem
-
setContext
- Specified by:
setContextin interfaceFunctionDef
-
setCategory
- Specified by:
setCategoryin interfaceClassItem
-
setAccess
-
setName
- Specified by:
setNamein interfaceFunctionDef
-
getContext
- Specified by:
getContextin interfaceOS_Element
-
hasItem
-
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
-
walkAnnotations
-
getEnName
- Specified by:
getEnNamein interfaceOS_NamedElement
-