NArrange.VisualBasic.VBParser.GetOperatorType C# (CSharp) Méthode

GetOperatorType() private static méthode

Gets the type of the operator.
private static GetOperatorType ( StringCollection wordList ) : OperatorType
wordList System.Collections.Specialized.StringCollection The word list.
Résultat OperatorType
        private static OperatorType GetOperatorType(StringCollection wordList)
        {
            OperatorType operatorType = OperatorType.None;

            if (wordList.Contains(VBKeyword.Widening))
            {
                operatorType = OperatorType.Implicit;
            }
            else if (wordList.Contains(VBKeyword.Narrowing))
            {
                operatorType = OperatorType.Explicit;
            }

            return operatorType;
        }