Inheritance: SProtoObject
Esempio n. 1
0
        internal static string AndOperator(ScriptProcessor processor, SObject left, SObject right)
        {
            var bools = GetBooleanicOperatorParameters(processor, left, right);

            return(SBool.ConvertToScriptString(bools.Item1 && bools.Item2));
        }
Esempio n. 2
0
 internal static string TypeNotEqualsOperator(ScriptProcessor processor, SObject left, SObject right)
 {
     return(SBool.ConvertToScriptString(!ObjectComparer.StrictEquals(processor, left, right)));
 }
Esempio n. 3
0
        internal static string LargerOperator(ScriptProcessor processor, SObject left, SObject right)
        {
            var numbers = GetNumericOperatorParameters(processor, left, right);

            return(SBool.ConvertToScriptString(numbers.Item1 > numbers.Item2));
        }
Esempio n. 4
0
 internal static string NotOperator(ScriptProcessor processor, SObject obj)
 {
     return(SBool.ConvertToScriptString(!obj.ToBool(processor).Value));
 }