Class DebuggingCopyInProgram
- java.lang.Object
-
- com.smeup.jardis.jariko.dap.model.AbstractDebuggingSource
-
- com.smeup.jardis.jariko.dap.model.DebuggingCopy
-
- com.smeup.jardis.jariko.dap.model.DebuggingCopyInProgram
-
- All Implemented Interfaces:
DebuggingSource
public class DebuggingCopyInProgram extends DebuggingCopy
- Author:
- lana
-
-
Field Summary
-
Fields inherited from class com.smeup.jardis.jariko.dap.model.AbstractDebuggingSource
uniqueReferenceIdSupplier
-
-
Constructor Summary
Constructors Constructor Description DebuggingCopyInProgram(com.smeup.jardis.core.dap.model.Source source, String name, Supplier<Integer> uniqueReferenceIdSupplier, DebuggingProgram parentProgram)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBreak(com.smeup.rpgparser.parsing.facade.SourceReference sourceReference)List<com.smeup.rpgparser.parsing.facade.SourceReference>getBreakpoints()JarikoVariablegetIndicator(String indicatorName)DebuggingProgramgetParentProgram()com.smeup.rpgparser.parsing.facade.SourceReferencegetSourceReference()Map<Integer,List<JarikoVariable>>getVariables()voidsetCurrentLine(com.smeup.rpgparser.parsing.facade.SourceReference currentLine)voidsetStatementsHolder(DebuggingCopyStatementsHolder statementsHolder)StringsetVariable(com.smeup.jardis.core.dap.model.SetVariableArguments setVariableArguments)-
Methods inherited from class com.smeup.jardis.jariko.dap.model.DebuggingCopy
getStatements, setStatements
-
Methods inherited from class com.smeup.jardis.jariko.dap.model.AbstractDebuggingSource
getName, getSource, getStackFrameId, getUniqueReferenceId, toString
-
-
-
-
Constructor Detail
-
DebuggingCopyInProgram
public DebuggingCopyInProgram(com.smeup.jardis.core.dap.model.Source source, String name, Supplier<Integer> uniqueReferenceIdSupplier, DebuggingProgram parentProgram)
-
-
Method Detail
-
getParentProgram
public DebuggingProgram getParentProgram()
-
setCurrentLine
public void setCurrentLine(com.smeup.rpgparser.parsing.facade.SourceReference currentLine)
-
getSourceReference
public com.smeup.rpgparser.parsing.facade.SourceReference getSourceReference()
-
getVariables
public Map<Integer,List<JarikoVariable>> getVariables()
- Returns:
- a Map whose key can be a stackFrameId or variablesReference. In the first case the values will be all variables that are not children of DS, in the latter the variables children of DS having that variablesReference
-
setVariable
public String setVariable(com.smeup.jardis.core.dap.model.SetVariableArguments setVariableArguments)
-
canBreak
public boolean canBreak(com.smeup.rpgparser.parsing.facade.SourceReference sourceReference)
- Specified by:
canBreakin interfaceDebuggingSource- Overrides:
canBreakin classDebuggingCopy
-
getBreakpoints
public List<com.smeup.rpgparser.parsing.facade.SourceReference> getBreakpoints()
- Specified by:
getBreakpointsin interfaceDebuggingSource- Overrides:
getBreakpointsin classDebuggingCopy
-
getIndicator
public JarikoVariable getIndicator(String indicatorName)
-
setStatementsHolder
public void setStatementsHolder(DebuggingCopyStatementsHolder statementsHolder)
-
-