public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); return(new SetBitOfResourceNode(LexemManager.GetNodeByString(get[0]), LexemManager.GetNodeByString(get[1]), get[2])); }
public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); return(new CompareNode(LexemManager.GetNodeByString(get[0]), LexemManager.GetNodeByString(get[1]), get[2].GetOperatorType())); }
public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); if (get.Count == 2) { return(new IfNode(LexemManager.GetNodeByString(get[0]), LexemManager.GetNodeByString(get[1]))); } return(new IfNode(LexemManager.GetNodeByString(get[0]), LexemManager.GetNodeByString(get[1]), LexemManager.GetNodeByString(get[2]))); }
public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); return(new GetDeviceValueNode(LexemManager.GetNodeByString(get[0]))); }
public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); return(new MultiplyNode(LexemManager.GetNodeByString(get[0]), LexemManager.GetNodeByString(get[1]))); }
public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); return(new ConvertUnsignedToInt16Node(LexemManager.GetNodeByString(get[0]))); }
public override IRuleNode VisitStringPart(string str) { var get = str.GetParameterFromString(); return(new AddNode(get.Select(s => LexemManager.GetNodeByString(s)).ToList())); }