Package org.qdl_lang.functions
Class FunctionRecord
- java.lang.Object
-
- org.qdl_lang.functions.FunctionRecord
-
- All Implemented Interfaces:
Serializable,Cloneable,FunctionRecordInterface,XThing
- Direct Known Subclasses:
QDLFunctionRecord
public class FunctionRecord extends Object implements FunctionRecordInterface
Actua implementation ofFunctionRecordInterface. Cf. withFR_WithStatewhich is a facade for this with added state.Created by Jeff Gaynor
on 1/22/20 at 10:48 AM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FunctionRecord()FunctionRecord(FKey key, List<String> sourceCode)
-
Method Summary
-
-
-
Method Detail
-
isExtrinsic
public boolean isExtrinsic()
- Specified by:
isExtrinsicin interfaceFunctionRecordInterface
-
setExtrinsic
public void setExtrinsic(boolean extrinsic)
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymousin interfaceFunctionRecordInterface
-
setAnonymous
public void setAnonymous(boolean anonymous)
-
isLambda
public boolean isLambda()
- Specified by:
isLambdain interfaceFunctionRecordInterface
-
setLambda
public void setLambda(boolean lambda)
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceFunctionRecordInterface
-
getName
public String getName()
- Specified by:
getNamein interfaceFunctionRecordInterface- Specified by:
getNamein interfaceXThing
-
setTokenPosition
public void setTokenPosition(TokenPosition tokenPosition)
-
getTokenPosition
public TokenPosition getTokenPosition()
- Specified by:
getTokenPositionin interfaceFunctionRecordInterface
-
hasTokenPosition
public boolean hasTokenPosition()
- Specified by:
hasTokenPositionin interfaceFunctionRecordInterface
-
getSourceCode
public List<String> getSourceCode()
- Specified by:
getSourceCodein interfaceFunctionRecordInterface
-
setSourceCode
public void setSourceCode(List<String> sourceCode)
- Specified by:
setSourceCodein interfaceFunctionRecordInterface
-
getDocumentation
public List<String> getDocumentation()
- Specified by:
getDocumentationin interfaceFunctionRecordInterface
-
getStatements
public List<Statement> getStatements()
- Specified by:
getStatementsin interfaceFunctionRecordInterface
-
setStatements
public void setStatements(List<Statement> statements)
- Specified by:
setStatementsin interfaceFunctionRecordInterface
-
getArgNames
public List<String> getArgNames()
- Specified by:
getArgNamesin interfaceFunctionRecordInterface
-
getfRefName
public String getfRefName()
- Specified by:
getfRefNamein interfaceFunctionRecordInterface
-
setfRefName
public void setfRefName(String fRefName)
- Specified by:
setfRefNamein interfaceFunctionRecordInterface
-
isOperator
public boolean isOperator()
- Specified by:
isOperatorin interfaceFunctionRecordInterface
-
setOperator
public void setOperator(boolean operator)
- Specified by:
setOperatorin interfaceFunctionRecordInterface
-
isFuncRef
public boolean isFuncRef()
- Specified by:
isFuncRefin interfaceFunctionRecordInterface
-
setFuncRef
public void setFuncRef(boolean funcRef)
- Specified by:
setFuncRefin interfaceFunctionRecordInterface
-
getKey
public FKey getKey()
- Specified by:
getKeyin interfaceFunctionRecordInterface- Specified by:
getKeyin interfaceXThing
-
hasName
public boolean hasName()
- Specified by:
hasNamein interfaceFunctionRecordInterface
-
setArgCount
public void setArgCount(int argCount)
-
getArgCount
public int getArgCount()
- Specified by:
getArgCountin interfaceFunctionRecordInterface
-
clone
public FunctionRecord clone()
- Specified by:
clonein interfaceFunctionRecordInterface- Overrides:
clonein classObject
-
-