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
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:
isExtrinsic
in interfaceFunctionRecordInterface
-
setExtrinsic
public void setExtrinsic(boolean extrinsic)
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous
in interfaceFunctionRecordInterface
-
setAnonymous
public void setAnonymous(boolean anonymous)
-
isLambda
public boolean isLambda()
- Specified by:
isLambda
in interfaceFunctionRecordInterface
-
setLambda
public void setLambda(boolean lambda)
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceFunctionRecordInterface
-
getName
public String getName()
- Specified by:
getName
in interfaceFunctionRecordInterface
- Specified by:
getName
in interfaceXThing
-
setTokenPosition
public void setTokenPosition(TokenPosition tokenPosition)
-
getTokenPosition
public TokenPosition getTokenPosition()
- Specified by:
getTokenPosition
in interfaceFunctionRecordInterface
-
hasTokenPosition
public boolean hasTokenPosition()
- Specified by:
hasTokenPosition
in interfaceFunctionRecordInterface
-
getSourceCode
public List<String> getSourceCode()
- Specified by:
getSourceCode
in interfaceFunctionRecordInterface
-
setSourceCode
public void setSourceCode(List<String> sourceCode)
- Specified by:
setSourceCode
in interfaceFunctionRecordInterface
-
getDocumentation
public List<String> getDocumentation()
- Specified by:
getDocumentation
in interfaceFunctionRecordInterface
-
getStatements
public List<Statement> getStatements()
- Specified by:
getStatements
in interfaceFunctionRecordInterface
-
setStatements
public void setStatements(List<Statement> statements)
- Specified by:
setStatements
in interfaceFunctionRecordInterface
-
getArgNames
public List<String> getArgNames()
- Specified by:
getArgNames
in interfaceFunctionRecordInterface
-
getfRefName
public String getfRefName()
- Specified by:
getfRefName
in interfaceFunctionRecordInterface
-
setfRefName
public void setfRefName(String fRefName)
- Specified by:
setfRefName
in interfaceFunctionRecordInterface
-
isOperator
public boolean isOperator()
- Specified by:
isOperator
in interfaceFunctionRecordInterface
-
setOperator
public void setOperator(boolean operator)
- Specified by:
setOperator
in interfaceFunctionRecordInterface
-
isFuncRef
public boolean isFuncRef()
- Specified by:
isFuncRef
in interfaceFunctionRecordInterface
-
setFuncRef
public void setFuncRef(boolean funcRef)
- Specified by:
setFuncRef
in interfaceFunctionRecordInterface
-
getKey
public FKey getKey()
- Specified by:
getKey
in interfaceFunctionRecordInterface
- Specified by:
getKey
in interfaceXThing
-
hasName
public boolean hasName()
- Specified by:
hasName
in interfaceFunctionRecordInterface
-
setArgCount
public void setArgCount(int argCount)
-
getArgCount
public int getArgCount()
- Specified by:
getArgCount
in interfaceFunctionRecordInterface
-
clone
public FunctionRecord clone()
- Specified by:
clone
in interfaceFunctionRecordInterface
- Overrides:
clone
in classObject
-
-