Package edu.uiuc.ncsa.qdl.functions
Class FunctionRecord
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.functions.FunctionRecord
-
- All Implemented Interfaces:
FunctionRecordInterface
,XThing
,Serializable
,Cloneable
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionRecord
clone()
int
getArgCount()
List<String>
getArgNames()
List<String>
getDocumentation()
String
getfRefName()
FKey
getKey()
String
getName()
List<String>
getSourceCode()
List<Statement>
getStatements()
TokenPosition
getTokenPosition()
boolean
hasName()
boolean
hasTokenPosition()
boolean
isAnonymous()
boolean
isFuncRef()
boolean
isLambda()
boolean
isOperator()
void
setAnonymous(boolean anonymous)
void
setArgCount(int argCount)
void
setArgNames(List<String> argNames)
void
setDocumentation(List<String> documentation)
void
setfRefName(String fRefName)
void
setFuncRef(boolean funcRef)
void
setLambda(boolean lambda)
void
setName(String name)
void
setOperator(boolean operator)
void
setSourceCode(List<String> sourceCode)
void
setStatements(List<Statement> statements)
void
setTokenPosition(TokenPosition tokenPosition)
String
toString()
-
-
-
Method Detail
-
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
-
-