/*
 * generated by Xtext 2.12.0
 */
grammar InternalPseim;

options {
	superClass=AbstractInternalContentAssistParser;
}

@lexer::header {
package com.irtsaintexupery.xtext.ide.contentassist.antlr.internal;

// Hack: Use our own Lexer superclass by means of import. 
// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
}

@parser::header {
package com.irtsaintexupery.xtext.ide.contentassist.antlr.internal;

import java.io.InputStream;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
import com.irtsaintexupery.xtext.services.PseimGrammarAccess;

}
@parser::members {
	private PseimGrammarAccess grammarAccess;

	public void setGrammarAccess(PseimGrammarAccess grammarAccess) {
		this.grammarAccess = grammarAccess;
	}

	@Override
	protected Grammar getGrammar() {
		return grammarAccess.getGrammar();
	}

	@Override
	protected String getValueForTokenName(String tokenName) {
		return tokenName;
	}
}

// Entry rule entryRuleModel
entryRuleModel
:
{ before(grammarAccess.getModelRule()); }
	 ruleModel
{ after(grammarAccess.getModelRule()); } 
	 EOF 
;

// Rule Model
ruleModel 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getModelAccess().getGroup()); }
		(rule__Model__Group__0)
		{ after(grammarAccess.getModelAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleComponent
entryRuleComponent
:
{ before(grammarAccess.getComponentRule()); }
	 ruleComponent
{ after(grammarAccess.getComponentRule()); } 
	 EOF 
;

// Rule Component
ruleComponent 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getComponentAccess().getGroup()); }
		(rule__Component__Group__0)
		{ after(grammarAccess.getComponentAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRulePort
entryRulePort
:
{ before(grammarAccess.getPortRule()); }
	 rulePort
{ after(grammarAccess.getPortRule()); } 
	 EOF 
;

// Rule Port
rulePort 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getPortAccess().getGroup()); }
		(rule__Port__Group__0)
		{ after(grammarAccess.getPortAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleLink
entryRuleLink
:
{ before(grammarAccess.getLinkRule()); }
	 ruleLink
{ after(grammarAccess.getLinkRule()); } 
	 EOF 
;

// Rule Link
ruleLink 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getLinkAccess().getGroup()); }
		(rule__Link__Group__0)
		{ after(grammarAccess.getLinkAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleGraphElement
entryRuleGraphElement
:
{ before(grammarAccess.getGraphElementRule()); }
	 ruleGraphElement
{ after(grammarAccess.getGraphElementRule()); } 
	 EOF 
;

// Rule GraphElement
ruleGraphElement 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getGraphElementAccess().getAlternatives()); }
		(rule__GraphElement__Alternatives)
		{ after(grammarAccess.getGraphElementAccess().getAlternatives()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleQualifiedID
entryRuleQualifiedID
:
{ before(grammarAccess.getQualifiedIDRule()); }
	 ruleQualifiedID
{ after(grammarAccess.getQualifiedIDRule()); } 
	 EOF 
;

// Rule QualifiedID
ruleQualifiedID 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getQualifiedIDAccess().getGroup()); }
		(rule__QualifiedID__Group__0)
		{ after(grammarAccess.getQualifiedIDAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleEString
entryRuleEString
:
{ before(grammarAccess.getEStringRule()); }
	 ruleEString
{ after(grammarAccess.getEStringRule()); } 
	 EOF 
;

// Rule EString
ruleEString 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getEStringAccess().getAlternatives()); }
		(rule__EString__Alternatives)
		{ after(grammarAccess.getEStringAccess().getAlternatives()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleIntegerProperty
entryRuleIntegerProperty
:
{ before(grammarAccess.getIntegerPropertyRule()); }
	 ruleIntegerProperty
{ after(grammarAccess.getIntegerPropertyRule()); } 
	 EOF 
;

// Rule IntegerProperty
ruleIntegerProperty 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getIntegerPropertyAccess().getGroup()); }
		(rule__IntegerProperty__Group__0)
		{ after(grammarAccess.getIntegerPropertyAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleStringProperty
entryRuleStringProperty
:
{ before(grammarAccess.getStringPropertyRule()); }
	 ruleStringProperty
{ after(grammarAccess.getStringPropertyRule()); } 
	 EOF 
;

// Rule StringProperty
ruleStringProperty 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getStringPropertyAccess().getGroup()); }
		(rule__StringProperty__Group__0)
		{ after(grammarAccess.getStringPropertyAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleBooleanProperty
entryRuleBooleanProperty
:
{ before(grammarAccess.getBooleanPropertyRule()); }
	 ruleBooleanProperty
{ after(grammarAccess.getBooleanPropertyRule()); } 
	 EOF 
;

// Rule BooleanProperty
ruleBooleanProperty 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getBooleanPropertyAccess().getGroup()); }
		(rule__BooleanProperty__Group__0)
		{ after(grammarAccess.getBooleanPropertyAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleReferenceProperty
entryRuleReferenceProperty
:
{ before(grammarAccess.getReferencePropertyRule()); }
	 ruleReferenceProperty
{ after(grammarAccess.getReferencePropertyRule()); } 
	 EOF 
;

// Rule ReferenceProperty
ruleReferenceProperty 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getReferencePropertyAccess().getGroup()); }
		(rule__ReferenceProperty__Group__0)
		{ after(grammarAccess.getReferencePropertyAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Entry rule entryRuleEInt
entryRuleEInt
:
{ before(grammarAccess.getEIntRule()); }
	 ruleEInt
{ after(grammarAccess.getEIntRule()); } 
	 EOF 
;

// Rule EInt
ruleEInt 
	@init {
		int stackSize = keepStackSize();
	}
	:
	(
		{ before(grammarAccess.getEIntAccess().getGroup()); }
		(rule__EInt__Group__0)
		{ after(grammarAccess.getEIntAccess().getGroup()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

// Rule PortDirection
rulePortDirection
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getPortDirectionAccess().getAlternatives()); }
		(rule__PortDirection__Alternatives)
		{ after(grammarAccess.getPortDirectionAccess().getAlternatives()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__GraphElement__Alternatives
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getGraphElementAccess().getComponentParserRuleCall_0()); }
		ruleComponent
		{ after(grammarAccess.getGraphElementAccess().getComponentParserRuleCall_0()); }
	)
	|
	(
		{ before(grammarAccess.getGraphElementAccess().getLinkParserRuleCall_1()); }
		ruleLink
		{ after(grammarAccess.getGraphElementAccess().getLinkParserRuleCall_1()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__EString__Alternatives
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); }
		RULE_STRING
		{ after(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); }
	)
	|
	(
		{ before(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); }
		RULE_ID
		{ after(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__PortDirection__Alternatives
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getPortDirectionAccess().getUNSPECIFIEDEnumLiteralDeclaration_0()); }
		('unspec')
		{ after(grammarAccess.getPortDirectionAccess().getUNSPECIFIEDEnumLiteralDeclaration_0()); }
	)
	|
	(
		{ before(grammarAccess.getPortDirectionAccess().getINEnumLiteralDeclaration_1()); }
		('in')
		{ after(grammarAccess.getPortDirectionAccess().getINEnumLiteralDeclaration_1()); }
	)
	|
	(
		{ before(grammarAccess.getPortDirectionAccess().getOUTEnumLiteralDeclaration_2()); }
		('out')
		{ after(grammarAccess.getPortDirectionAccess().getOUTEnumLiteralDeclaration_2()); }
	)
	|
	(
		{ before(grammarAccess.getPortDirectionAccess().getINOUTEnumLiteralDeclaration_3()); }
		('inout')
		{ after(grammarAccess.getPortDirectionAccess().getINOUTEnumLiteralDeclaration_3()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Model__Group__0__Impl
	rule__Model__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getModelAccess().getModelKeyword_0()); }
	'model'
	{ after(grammarAccess.getModelAccess().getModelKeyword_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Model__Group__1__Impl
	rule__Model__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getModelAccess().getNameAssignment_1()); }
	(rule__Model__NameAssignment_1)
	{ after(grammarAccess.getModelAccess().getNameAssignment_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Model__Group__2__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getModelAccess().getGroup_2()); }
	(rule__Model__Group_2__0)?
	{ after(grammarAccess.getModelAccess().getGroup_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Model__Group_2__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Model__Group_2__0__Impl
	rule__Model__Group_2__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group_2__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getModelAccess().getLeftCurlyBracketKeyword_2_0()); }
	'{'
	{ after(grammarAccess.getModelAccess().getLeftCurlyBracketKeyword_2_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group_2__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Model__Group_2__1__Impl
	rule__Model__Group_2__2
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group_2__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getModelAccess().getModelElementsAssignment_2_1()); }
	(rule__Model__ModelElementsAssignment_2_1)*
	{ after(grammarAccess.getModelAccess().getModelElementsAssignment_2_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group_2__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Model__Group_2__2__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__Group_2__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getModelAccess().getRightCurlyBracketKeyword_2_2()); }
	'}'
	{ after(grammarAccess.getModelAccess().getRightCurlyBracketKeyword_2_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Component__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group__0__Impl
	rule__Component__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getComponentKeyword_0()); }
	'component'
	{ after(grammarAccess.getComponentAccess().getComponentKeyword_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group__1__Impl
	rule__Component__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getNameAssignment_1()); }
	(rule__Component__NameAssignment_1)
	{ after(grammarAccess.getComponentAccess().getNameAssignment_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group__2__Impl
	rule__Component__Group__3
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getLeftParenthesisKeyword_2()); }
	'('
	{ after(grammarAccess.getComponentAccess().getLeftParenthesisKeyword_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__3
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group__3__Impl
	rule__Component__Group__4
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__3__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getGroup_3()); }
	(rule__Component__Group_3__0)?
	{ after(grammarAccess.getComponentAccess().getGroup_3()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__4
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group__4__Impl
	rule__Component__Group__5
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__4__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getRightParenthesisKeyword_4()); }
	')'
	{ after(grammarAccess.getComponentAccess().getRightParenthesisKeyword_4()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__5
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group__5__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group__5__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getGroup_5()); }
	(rule__Component__Group_5__0)?
	{ after(grammarAccess.getComponentAccess().getGroup_5()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Component__Group_3__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_3__0__Impl
	rule__Component__Group_3__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_3__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getContentAssignment_3_0()); }
	(rule__Component__ContentAssignment_3_0)
	{ after(grammarAccess.getComponentAccess().getContentAssignment_3_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_3__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_3__1__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_3__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getGroup_3_1()); }
	(rule__Component__Group_3_1__0)*
	{ after(grammarAccess.getComponentAccess().getGroup_3_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Component__Group_3_1__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_3_1__0__Impl
	rule__Component__Group_3_1__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_3_1__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getCommaKeyword_3_1_0()); }
	','
	{ after(grammarAccess.getComponentAccess().getCommaKeyword_3_1_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_3_1__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_3_1__1__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_3_1__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getContentAssignment_3_1_1()); }
	(rule__Component__ContentAssignment_3_1_1)
	{ after(grammarAccess.getComponentAccess().getContentAssignment_3_1_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Component__Group_5__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_5__0__Impl
	rule__Component__Group_5__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_5__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getLeftCurlyBracketKeyword_5_0()); }
	'{'
	{ after(grammarAccess.getComponentAccess().getLeftCurlyBracketKeyword_5_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_5__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_5__1__Impl
	rule__Component__Group_5__2
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_5__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getContentAssignment_5_1()); }
	(rule__Component__ContentAssignment_5_1)*
	{ after(grammarAccess.getComponentAccess().getContentAssignment_5_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_5__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Component__Group_5__2__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__Group_5__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getComponentAccess().getRightCurlyBracketKeyword_5_2()); }
	'}'
	{ after(grammarAccess.getComponentAccess().getRightCurlyBracketKeyword_5_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Port__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Port__Group__0__Impl
	rule__Port__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Port__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getPortAccess().getDirectionAssignment_0()); }
	(rule__Port__DirectionAssignment_0)
	{ after(grammarAccess.getPortAccess().getDirectionAssignment_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Port__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Port__Group__1__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Port__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getPortAccess().getNameAssignment_1()); }
	(rule__Port__NameAssignment_1)
	{ after(grammarAccess.getPortAccess().getNameAssignment_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Link__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Link__Group__0__Impl
	rule__Link__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getLinkAccess().getSrcAssignment_0()); }
	(rule__Link__SrcAssignment_0)
	{ after(grammarAccess.getLinkAccess().getSrcAssignment_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Link__Group__1__Impl
	rule__Link__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getLinkAccess().getHyphenMinusGreaterThanSignKeyword_1()); }
	'->'
	{ after(grammarAccess.getLinkAccess().getHyphenMinusGreaterThanSignKeyword_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__Link__Group__2__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getLinkAccess().getDstAssignment_2()); }
	(rule__Link__DstAssignment_2)
	{ after(grammarAccess.getLinkAccess().getDstAssignment_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__QualifiedID__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__QualifiedID__Group__0__Impl
	rule__QualifiedID__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__QualifiedID__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getQualifiedIDAccess().getIDTerminalRuleCall_0()); }
	RULE_ID
	{ after(grammarAccess.getQualifiedIDAccess().getIDTerminalRuleCall_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__QualifiedID__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__QualifiedID__Group__1__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__QualifiedID__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getQualifiedIDAccess().getGroup_1()); }
	(rule__QualifiedID__Group_1__0)*
	{ after(grammarAccess.getQualifiedIDAccess().getGroup_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__QualifiedID__Group_1__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__QualifiedID__Group_1__0__Impl
	rule__QualifiedID__Group_1__1
;
finally {
	restoreStackSize(stackSize);
}

rule__QualifiedID__Group_1__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getQualifiedIDAccess().getFullStopKeyword_1_0()); }
	'.'
	{ after(grammarAccess.getQualifiedIDAccess().getFullStopKeyword_1_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__QualifiedID__Group_1__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__QualifiedID__Group_1__1__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__QualifiedID__Group_1__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getQualifiedIDAccess().getIDTerminalRuleCall_1_1()); }
	RULE_ID
	{ after(grammarAccess.getQualifiedIDAccess().getIDTerminalRuleCall_1_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__IntegerProperty__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__0__Impl
	rule__IntegerProperty__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getIntegerPropertyKeyword_0()); }
	'IntegerProperty'
	{ after(grammarAccess.getIntegerPropertyAccess().getIntegerPropertyKeyword_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__1__Impl
	rule__IntegerProperty__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getLeftCurlyBracketKeyword_1()); }
	'{'
	{ after(grammarAccess.getIntegerPropertyAccess().getLeftCurlyBracketKeyword_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__2__Impl
	rule__IntegerProperty__Group__3
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getKeyKeyword_2()); }
	'key'
	{ after(grammarAccess.getIntegerPropertyAccess().getKeyKeyword_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__3
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__3__Impl
	rule__IntegerProperty__Group__4
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__3__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getKeyAssignment_3()); }
	(rule__IntegerProperty__KeyAssignment_3)
	{ after(grammarAccess.getIntegerPropertyAccess().getKeyAssignment_3()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__4
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__4__Impl
	rule__IntegerProperty__Group__5
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__4__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getValueKeyword_4()); }
	'value'
	{ after(grammarAccess.getIntegerPropertyAccess().getValueKeyword_4()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__5
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__5__Impl
	rule__IntegerProperty__Group__6
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__5__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getValueAssignment_5()); }
	(rule__IntegerProperty__ValueAssignment_5)
	{ after(grammarAccess.getIntegerPropertyAccess().getValueAssignment_5()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__6
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__IntegerProperty__Group__6__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__Group__6__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getIntegerPropertyAccess().getRightCurlyBracketKeyword_6()); }
	'}'
	{ after(grammarAccess.getIntegerPropertyAccess().getRightCurlyBracketKeyword_6()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__StringProperty__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__0__Impl
	rule__StringProperty__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getStringPropertyKeyword_0()); }
	'StringProperty'
	{ after(grammarAccess.getStringPropertyAccess().getStringPropertyKeyword_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__1__Impl
	rule__StringProperty__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getLeftCurlyBracketKeyword_1()); }
	'{'
	{ after(grammarAccess.getStringPropertyAccess().getLeftCurlyBracketKeyword_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__2__Impl
	rule__StringProperty__Group__3
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getKeyKeyword_2()); }
	'key'
	{ after(grammarAccess.getStringPropertyAccess().getKeyKeyword_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__3
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__3__Impl
	rule__StringProperty__Group__4
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__3__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getKeyAssignment_3()); }
	(rule__StringProperty__KeyAssignment_3)
	{ after(grammarAccess.getStringPropertyAccess().getKeyAssignment_3()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__4
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__4__Impl
	rule__StringProperty__Group__5
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__4__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getValueKeyword_4()); }
	'value'
	{ after(grammarAccess.getStringPropertyAccess().getValueKeyword_4()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__5
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__5__Impl
	rule__StringProperty__Group__6
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__5__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getValueAssignment_5()); }
	(rule__StringProperty__ValueAssignment_5)
	{ after(grammarAccess.getStringPropertyAccess().getValueAssignment_5()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__6
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__StringProperty__Group__6__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__Group__6__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getStringPropertyAccess().getRightCurlyBracketKeyword_6()); }
	'}'
	{ after(grammarAccess.getStringPropertyAccess().getRightCurlyBracketKeyword_6()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__BooleanProperty__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__BooleanProperty__Group__0__Impl
	rule__BooleanProperty__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getBooleanPropertyAccess().getValueAssignment_0()); }
	(rule__BooleanProperty__ValueAssignment_0)
	{ after(grammarAccess.getBooleanPropertyAccess().getValueAssignment_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__BooleanProperty__Group__1__Impl
	rule__BooleanProperty__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getBooleanPropertyAccess().getBooleanPropertyKeyword_1()); }
	'BooleanProperty'
	{ after(grammarAccess.getBooleanPropertyAccess().getBooleanPropertyKeyword_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__BooleanProperty__Group__2__Impl
	rule__BooleanProperty__Group__3
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getBooleanPropertyAccess().getLeftCurlyBracketKeyword_2()); }
	'{'
	{ after(grammarAccess.getBooleanPropertyAccess().getLeftCurlyBracketKeyword_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__3
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__BooleanProperty__Group__3__Impl
	rule__BooleanProperty__Group__4
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__3__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getBooleanPropertyAccess().getKeyKeyword_3()); }
	'key'
	{ after(grammarAccess.getBooleanPropertyAccess().getKeyKeyword_3()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__4
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__BooleanProperty__Group__4__Impl
	rule__BooleanProperty__Group__5
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__4__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getBooleanPropertyAccess().getKeyAssignment_4()); }
	(rule__BooleanProperty__KeyAssignment_4)
	{ after(grammarAccess.getBooleanPropertyAccess().getKeyAssignment_4()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__5
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__BooleanProperty__Group__5__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__Group__5__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getBooleanPropertyAccess().getRightCurlyBracketKeyword_5()); }
	'}'
	{ after(grammarAccess.getBooleanPropertyAccess().getRightCurlyBracketKeyword_5()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__ReferenceProperty__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__0__Impl
	rule__ReferenceProperty__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getReferencePropertyKeyword_0()); }
	'ReferenceProperty'
	{ after(grammarAccess.getReferencePropertyAccess().getReferencePropertyKeyword_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__1__Impl
	rule__ReferenceProperty__Group__2
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getLeftCurlyBracketKeyword_1()); }
	'{'
	{ after(grammarAccess.getReferencePropertyAccess().getLeftCurlyBracketKeyword_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__2
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__2__Impl
	rule__ReferenceProperty__Group__3
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__2__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getKeyKeyword_2()); }
	'key'
	{ after(grammarAccess.getReferencePropertyAccess().getKeyKeyword_2()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__3
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__3__Impl
	rule__ReferenceProperty__Group__4
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__3__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getKeyAssignment_3()); }
	(rule__ReferenceProperty__KeyAssignment_3)
	{ after(grammarAccess.getReferencePropertyAccess().getKeyAssignment_3()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__4
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__4__Impl
	rule__ReferenceProperty__Group__5
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__4__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getRefKeyword_4()); }
	'ref'
	{ after(grammarAccess.getReferencePropertyAccess().getRefKeyword_4()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__5
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__5__Impl
	rule__ReferenceProperty__Group__6
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__5__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getRefAssignment_5()); }
	(rule__ReferenceProperty__RefAssignment_5)
	{ after(grammarAccess.getReferencePropertyAccess().getRefAssignment_5()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__6
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__ReferenceProperty__Group__6__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__Group__6__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getReferencePropertyAccess().getRightCurlyBracketKeyword_6()); }
	'}'
	{ after(grammarAccess.getReferencePropertyAccess().getRightCurlyBracketKeyword_6()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__EInt__Group__0
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__EInt__Group__0__Impl
	rule__EInt__Group__1
;
finally {
	restoreStackSize(stackSize);
}

rule__EInt__Group__0__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getEIntAccess().getHyphenMinusKeyword_0()); }
	('-')?
	{ after(grammarAccess.getEIntAccess().getHyphenMinusKeyword_0()); }
)
;
finally {
	restoreStackSize(stackSize);
}

rule__EInt__Group__1
	@init {
		int stackSize = keepStackSize();
	}
:
	rule__EInt__Group__1__Impl
;
finally {
	restoreStackSize(stackSize);
}

rule__EInt__Group__1__Impl
	@init {
		int stackSize = keepStackSize();
	}
:
(
	{ before(grammarAccess.getEIntAccess().getINTTerminalRuleCall_1()); }
	RULE_INT
	{ after(grammarAccess.getEIntAccess().getINTTerminalRuleCall_1()); }
)
;
finally {
	restoreStackSize(stackSize);
}


rule__Model__NameAssignment_1
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getModelAccess().getNameEStringParserRuleCall_1_0()); }
		ruleEString
		{ after(grammarAccess.getModelAccess().getNameEStringParserRuleCall_1_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Model__ModelElementsAssignment_2_1
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getModelAccess().getModelElementsGraphElementParserRuleCall_2_1_0()); }
		ruleGraphElement
		{ after(grammarAccess.getModelAccess().getModelElementsGraphElementParserRuleCall_2_1_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__NameAssignment_1
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getComponentAccess().getNameIDTerminalRuleCall_1_0()); }
		RULE_ID
		{ after(grammarAccess.getComponentAccess().getNameIDTerminalRuleCall_1_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__ContentAssignment_3_0
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getComponentAccess().getContentPortParserRuleCall_3_0_0()); }
		rulePort
		{ after(grammarAccess.getComponentAccess().getContentPortParserRuleCall_3_0_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__ContentAssignment_3_1_1
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getComponentAccess().getContentPortParserRuleCall_3_1_1_0()); }
		rulePort
		{ after(grammarAccess.getComponentAccess().getContentPortParserRuleCall_3_1_1_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Component__ContentAssignment_5_1
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getComponentAccess().getContentGraphElementParserRuleCall_5_1_0()); }
		ruleGraphElement
		{ after(grammarAccess.getComponentAccess().getContentGraphElementParserRuleCall_5_1_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Port__DirectionAssignment_0
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getPortAccess().getDirectionPortDirectionEnumRuleCall_0_0()); }
		rulePortDirection
		{ after(grammarAccess.getPortAccess().getDirectionPortDirectionEnumRuleCall_0_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Port__NameAssignment_1
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getPortAccess().getNameIDTerminalRuleCall_1_0()); }
		RULE_ID
		{ after(grammarAccess.getPortAccess().getNameIDTerminalRuleCall_1_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__SrcAssignment_0
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getLinkAccess().getSrcPortCrossReference_0_0()); }
		(
			{ before(grammarAccess.getLinkAccess().getSrcPortQualifiedIDParserRuleCall_0_0_1()); }
			ruleQualifiedID
			{ after(grammarAccess.getLinkAccess().getSrcPortQualifiedIDParserRuleCall_0_0_1()); }
		)
		{ after(grammarAccess.getLinkAccess().getSrcPortCrossReference_0_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__Link__DstAssignment_2
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getLinkAccess().getDstPortCrossReference_2_0()); }
		(
			{ before(grammarAccess.getLinkAccess().getDstPortQualifiedIDParserRuleCall_2_0_1()); }
			ruleQualifiedID
			{ after(grammarAccess.getLinkAccess().getDstPortQualifiedIDParserRuleCall_2_0_1()); }
		)
		{ after(grammarAccess.getLinkAccess().getDstPortCrossReference_2_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__KeyAssignment_3
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getIntegerPropertyAccess().getKeyEStringParserRuleCall_3_0()); }
		ruleEString
		{ after(grammarAccess.getIntegerPropertyAccess().getKeyEStringParserRuleCall_3_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__IntegerProperty__ValueAssignment_5
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getIntegerPropertyAccess().getValueEIntParserRuleCall_5_0()); }
		ruleEInt
		{ after(grammarAccess.getIntegerPropertyAccess().getValueEIntParserRuleCall_5_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__KeyAssignment_3
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getStringPropertyAccess().getKeyEStringParserRuleCall_3_0()); }
		ruleEString
		{ after(grammarAccess.getStringPropertyAccess().getKeyEStringParserRuleCall_3_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__StringProperty__ValueAssignment_5
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getStringPropertyAccess().getValueEStringParserRuleCall_5_0()); }
		ruleEString
		{ after(grammarAccess.getStringPropertyAccess().getValueEStringParserRuleCall_5_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__ValueAssignment_0
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getBooleanPropertyAccess().getValueValueKeyword_0_0()); }
		(
			{ before(grammarAccess.getBooleanPropertyAccess().getValueValueKeyword_0_0()); }
			'value'
			{ after(grammarAccess.getBooleanPropertyAccess().getValueValueKeyword_0_0()); }
		)
		{ after(grammarAccess.getBooleanPropertyAccess().getValueValueKeyword_0_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__BooleanProperty__KeyAssignment_4
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getBooleanPropertyAccess().getKeyEStringParserRuleCall_4_0()); }
		ruleEString
		{ after(grammarAccess.getBooleanPropertyAccess().getKeyEStringParserRuleCall_4_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__KeyAssignment_3
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getReferencePropertyAccess().getKeyEStringParserRuleCall_3_0()); }
		ruleEString
		{ after(grammarAccess.getReferencePropertyAccess().getKeyEStringParserRuleCall_3_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

rule__ReferenceProperty__RefAssignment_5
	@init {
		int stackSize = keepStackSize();
	}
:
	(
		{ before(grammarAccess.getReferencePropertyAccess().getRefPropertyHolderCrossReference_5_0()); }
		(
			{ before(grammarAccess.getReferencePropertyAccess().getRefPropertyHolderEStringParserRuleCall_5_0_1()); }
			ruleEString
			{ after(grammarAccess.getReferencePropertyAccess().getRefPropertyHolderEStringParserRuleCall_5_0_1()); }
		)
		{ after(grammarAccess.getReferencePropertyAccess().getRefPropertyHolderCrossReference_5_0()); }
	)
;
finally {
	restoreStackSize(stackSize);
}

RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;

RULE_INT : ('0'..'9')+;

RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');

RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';

RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;

RULE_WS : (' '|'\t'|'\r'|'\n')+;

RULE_ANY_OTHER : .;
