Exemplo n.º 1
0
        private void BindPropertyHeader(PropertyHeaderNode header)
        {
            _scriptType.TryGetProperty(header.Identifier.Text, out var type);
            header.CompilerType = type;

            if (type != null)
            {
                header.Flags |= type.IsAuto ? LanguageFlags.Auto : LanguageFlags.None;
                // TODO: AutoReadOnly by cross referencing with the mangled variable we currently ignore
            }
        }
Exemplo n.º 2
0
 public virtual T VisitPropertyHeader(PropertyHeaderNode node, T1 t1)
 {
     return(VisitDefault(node, t1));
 }