using System;

namespace Decal.Adapter.NetParser;

internal class MemberParser : MarshalByRefObject
{
	public MemberParser Next;

	public MemberParser Child;

	public MemberParserType MemberType;

	public string MemberName;

	public MemberParserCondition Condition;

	public string ConditionField;

	public long ConditionXor;

	public long ConditionAnd;

	public long ConditionResult;

	public string LengthField;

	public long LengthMask;

	public int LengthDelta;

	public int PreAlignment;

	public int PostAlignment;

	public MemberParser()
	{
	}

	public MemberParser(MemberParser Source)
	{
		Next = Source.Next;
		Child = Source.Child;
		MemberType = Source.MemberType;
		MemberName = Source.MemberName;
		Condition = Source.Condition;
		ConditionField = Source.ConditionField;
		ConditionXor = Source.ConditionXor;
		ConditionAnd = Source.ConditionAnd;
		ConditionResult = Source.ConditionResult;
		LengthField = Source.LengthField;
		LengthMask = Source.LengthMask;
		LengthDelta = Source.LengthDelta;
		PreAlignment = Source.PreAlignment;
		PostAlignment = Source.PostAlignment;
	}
}
