示例#1
0
        public override void Emit(ByteCodeBuilder code, BoundFunction parent)
        {
            EmitArrayLengthInitializers(Var.Type, parent.GetLocalLocation(Var) !.Value, code);
            var initializer = Var.Initializer;

            if (initializer != null)
            {
                if (Var.Type is RefType ||
                    (Var.Type is BasicType {
                    TypeCode : BasicTypeCode.String
                } && initializer.Type?.UnderlyingType is TextLabelType))
示例#2
0
 public override void Emit(ByteCodeBuilder code, BoundFunction parent) => throw new NotSupportedException();
示例#3
0
 public abstract void Emit(ByteCodeBuilder code, BoundFunction parent);