public class AssignVar extends xyz.cofe.collection.tree.AbstractTreeNode<Value> implements Value, DefineVar
| Modifier and Type | Field and Description |
|---|---|
protected Object |
assignedValue |
protected Lock |
lock |
protected xyz.cofe.typeconv.TypeCastGraph |
typeCastGraph |
| Constructor and Description |
|---|
AssignVar() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
assign(Object root,
String[] path,
Object value,
xyz.cofe.collection.Func1<Object,Object> assigned) |
protected String |
assign(Object root,
String property,
Object value,
xyz.cofe.collection.Func1<Object,Object> assigned) |
protected String |
assignStart(Memory mem,
String[] path,
Object value,
xyz.cofe.collection.Func1<Object,Object> assigned) |
Object |
eval() |
Object |
getAssignedValue() |
Value[] |
getChildren() |
protected String |
getCodePath() |
Value |
getData() |
xyz.cofe.text.parser.lex.FieldAccess |
getField() |
Memory |
getMemory() |
Class |
getType() |
xyz.cofe.typeconv.TypeCastGraph |
getTypeCastGraph() |
String |
getVarName() |
Class |
getVarType() |
Object |
getVarValue() |
void |
setAssignedValue(Object assignedValue) |
void |
setData(Value data) |
void |
setField(xyz.cofe.text.parser.lex.FieldAccess field) |
void |
setMemory(Memory memory) |
void |
setTypeCastGraph(xyz.cofe.typeconv.TypeCastGraph typeCastGraph) |
getIndex, getIndex, getNextSibling, getNodePath, getNodePath, getParent, getPreviousSibling, getSibling, getSibling, setParent, syncrun, tree, tree, tree, tree, updateParent, visit, visit, visit, visit, visit, visit, visit, walk, walk, walkprotected final Lock lock
protected Object assignedValue
protected xyz.cofe.typeconv.TypeCastGraph typeCastGraph
public Value[] getChildren()
getChildren in interface xyz.cofe.collection.tree.TreeNode<Value>public Memory getMemory()
public void setMemory(Memory memory)
public Value getData()
public void setData(Value data)
public xyz.cofe.text.parser.lex.FieldAccess getField()
public String getVarName()
getVarName in interface DefineVarpublic void setField(xyz.cofe.text.parser.lex.FieldAccess field)
public Class getVarType()
getVarType in interface DefineVarpublic Object getAssignedValue()
public void setAssignedValue(Object assignedValue)
public Object getVarValue()
getVarValue in interface DefineVarpublic xyz.cofe.typeconv.TypeCastGraph getTypeCastGraph()
public void setTypeCastGraph(xyz.cofe.typeconv.TypeCastGraph typeCastGraph)
protected String getCodePath()
protected String assignStart(Memory mem, String[] path, Object value, xyz.cofe.collection.Func1<Object,Object> assigned)
protected String assign(Object root, String[] path, Object value, xyz.cofe.collection.Func1<Object,Object> assigned)
Copyright © 2017. All rights reserved.