Exemplo n.º 1
0
        protected void ProcessFieldNode(ALSymbolInformation symbol, FieldSyntax syntax)
        {
            Type syntaxType = syntax.GetType();

            if (syntax.No != null)
            {
                string idText = syntax.No.ToString();
                int    id     = 0;
                if (Int32.TryParse(idText, out id))
                {
                    symbol.id = id;
                }
            }

            symbol.fullName = ALSyntaxHelper.EncodeName(symbol.name) + ": " + syntax.Type.ToFullString();
        }
 public SyntaxToken GetType(FieldSyntax syntax)
 {
     return(FormatTypeName(syntax.GetType()));
 }