NArrange.VisualBasic.VBParser.GetOperatorType C# (CSharp) 메소드

GetOperatorType() 개인적인 정적인 메소드

Gets the type of the operator.
private static GetOperatorType ( StringCollection wordList ) : OperatorType
wordList System.Collections.Specialized.StringCollection The word list.
리턴 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;
        }