Exemple #1
0
        public int VisitRecordTypeDenoter(RecordTypeDenoter ast, Frame frame)
        {
            int typeSize;

            if (ast.Entity == null)
            {
                typeSize   = ast.FieldType.Visit(this, Frame.Initial);
                ast.Entity = new TypeRepresentation(typeSize);
                Encoder.WriteTableDetails(ast);
            }
            else
            {
                typeSize = ast.Entity.Size;
            }
            return(typeSize);
        }
 public TypeDenoter VisitRecordTypeDenoter(RecordTypeDenoter ast, Void arg)
 {
     ast.FieldType.Visit(this);
     return(ast);
 }