Exemplo n.º 1
0
        public static bool TryParseName(string name, out PrimTypeName primName)
        {
            if (typeNames.ContainsKey(name))
            {
                primName = typeNames[name];
                return(true);
            }

            primName = default;
            return(false);
        }
Exemplo n.º 2
0
 public bool CanConvertTo(PrimTypeName primTypeName, ErrorHandler errorHandler)
 {
     return(CanConvertTo(new PrimType(primTypeName), errorHandler));
 }
Exemplo n.º 3
0
 public PrimType(PrimTypeName name, Lexeme token = default)
 {
     Name  = name;
     Token = token;
 }