// This file is part of cxsd, copyright (c) 2016 BusFaster Ltd.
// Released under the MIT license, see LICENSE.

import {Namespace} from './Namespace';
import {Member} from './Member';
import {Type} from './Type';

export class MemberRef {
	constructor(member: Member, min: number, max: number) {
		this.member = member;
		this.min = min;
		this.max = max;
	}

	member: Member;
	min: number;
	max: number;

	safeName: string;
	prefix: string;

	static optionalFlag = 1;
	static arrayFlag = 2;
}

// This file is part of cxsd, copyright (c) 2016 BusFaster Ltd.
// Released under the MIT license, see LICENSE.

import * as cxml from 'cxml';

import {Member} from './Member';

export class MemberRef extends cxml.MemberRefBase<Member> {
	prefix: string;
}

Use member reference base class from cxml.
Use member reference base class from cxml.
