| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| * |
| */ |
| package org.eclipse.osbp.xtext.datainterchange.services; |
| |
| import com.google.inject.Singleton; |
| import com.google.inject.Inject; |
| |
| import java.util.List; |
| |
| import org.eclipse.xtext.*; |
| import org.eclipse.xtext.service.GrammarProvider; |
| import org.eclipse.xtext.service.AbstractElementFinder.*; |
| |
| import org.eclipse.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess; |
| import org.eclipse.xtext.xbase.services.XbaseGrammarAccess; |
| import org.eclipse.xtext.xbase.services.XtypeGrammarAccess; |
| |
| @Singleton |
| public class DataDSLGrammarAccess extends AbstractGrammarElementFinder { |
| |
| |
| public class DataInterchangeModelElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeModel"); |
| private final Assignment cPackagesAssignment = (Assignment)rule.eContents().get(1); |
| private final RuleCall cPackagesDataInterchangePackageParserRuleCall_0 = (RuleCall)cPackagesAssignment.eContents().get(0); |
| |
| //DataInterchangeModel: |
| // packages+=DataInterchangePackage*; |
| public ParserRule getRule() { return rule; } |
| |
| //packages+=DataInterchangePackage* |
| public Assignment getPackagesAssignment() { return cPackagesAssignment; } |
| |
| //DataInterchangePackage |
| public RuleCall getPackagesDataInterchangePackageParserRuleCall_0() { return cPackagesDataInterchangePackageParserRuleCall_0; } |
| } |
| |
| public class DataInterchangePackageElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangePackage"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangePackageAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cPackageKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); |
| private final Keyword cTitleKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cTitleAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cTitleTRANSLATABLESTRINGParserRuleCall_4_0 = (RuleCall)cTitleAssignment_4.eContents().get(0); |
| private final Group cGroup_5 = (Group)cGroup.eContents().get(5); |
| private final Keyword cLeftCurlyBracketKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); |
| private final Assignment cImportsAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); |
| private final RuleCall cImportsDataInterchangeImportParserRuleCall_5_1_0 = (RuleCall)cImportsAssignment_5_1.eContents().get(0); |
| private final Assignment cDatIntsAssignment_5_2 = (Assignment)cGroup_5.eContents().get(2); |
| private final RuleCall cDatIntsDataInterchangeParserRuleCall_5_2_0 = (RuleCall)cDatIntsAssignment_5_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_5_3 = (Keyword)cGroup_5.eContents().get(3); |
| |
| //DataInterchangePackage: |
| // {DataInterchangePackage} "package" name=QualifiedName "title" title=TRANSLATABLESTRING ("{" |
| // imports+=DataInterchangeImport* datInts+=DataInterchange* "}")?; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangePackage} "package" name=QualifiedName "title" title=TRANSLATABLESTRING ("{" |
| //imports+=DataInterchangeImport* datInts+=DataInterchange* "}")? |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangePackage} |
| public Action getDataInterchangePackageAction_0() { return cDataInterchangePackageAction_0; } |
| |
| //"package" |
| public Keyword getPackageKeyword_1() { return cPackageKeyword_1; } |
| |
| //name=QualifiedName |
| public Assignment getNameAssignment_2() { return cNameAssignment_2; } |
| |
| //QualifiedName |
| public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } |
| |
| //"title" |
| public Keyword getTitleKeyword_3() { return cTitleKeyword_3; } |
| |
| //title=TRANSLATABLESTRING |
| public Assignment getTitleAssignment_4() { return cTitleAssignment_4; } |
| |
| //TRANSLATABLESTRING |
| public RuleCall getTitleTRANSLATABLESTRINGParserRuleCall_4_0() { return cTitleTRANSLATABLESTRINGParserRuleCall_4_0; } |
| |
| //("{" imports+=DataInterchangeImport* datInts+=DataInterchange* "}")? |
| public Group getGroup_5() { return cGroup_5; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_5_0() { return cLeftCurlyBracketKeyword_5_0; } |
| |
| //imports+=DataInterchangeImport* |
| public Assignment getImportsAssignment_5_1() { return cImportsAssignment_5_1; } |
| |
| //DataInterchangeImport |
| public RuleCall getImportsDataInterchangeImportParserRuleCall_5_1_0() { return cImportsDataInterchangeImportParserRuleCall_5_1_0; } |
| |
| //datInts+=DataInterchange* |
| public Assignment getDatIntsAssignment_5_2() { return cDatIntsAssignment_5_2; } |
| |
| //DataInterchange |
| public RuleCall getDatIntsDataInterchangeParserRuleCall_5_2_0() { return cDatIntsDataInterchangeParserRuleCall_5_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_5_3() { return cRightCurlyBracketKeyword_5_3; } |
| } |
| |
| public class DataInterchangeElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchange"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cInterchangeKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cNameTRANSLATABLEIDParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Assignment cDescriptionAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); |
| private final Keyword cDescriptionDescribedByKeyword_3_0_0 = (Keyword)cDescriptionAssignment_3_0.eContents().get(0); |
| private final Assignment cDescriptionValueAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); |
| private final RuleCall cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0 = (RuleCall)cDescriptionValueAssignment_3_1.eContents().get(0); |
| private final Assignment cCreateReportAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final Keyword cCreateReportCreateReportKeyword_4_0 = (Keyword)cCreateReportAssignment_4.eContents().get(0); |
| private final Group cGroup_5 = (Group)cGroup.eContents().get(5); |
| private final Keyword cAverageElementSizeKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); |
| private final Assignment cElementSizeAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); |
| private final RuleCall cElementSizeINTTerminalRuleCall_5_1_0 = (RuleCall)cElementSizeAssignment_5_1.eContents().get(0); |
| private final Group cGroup_6 = (Group)cGroup.eContents().get(6); |
| private final Keyword cProgressBarStyleKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0); |
| private final Assignment cProgressBarStyleAssignment_6_1 = (Assignment)cGroup_6.eContents().get(1); |
| private final RuleCall cProgressBarStyleProgressBarStylesEnumEnumRuleCall_6_1_0 = (RuleCall)cProgressBarStyleAssignment_6_1.eContents().get(0); |
| private final Group cGroup_7 = (Group)cGroup.eContents().get(7); |
| private final Assignment cRefreshEnabledAssignment_7_0 = (Assignment)cGroup_7.eContents().get(0); |
| private final Keyword cRefreshEnabledRefreshViewWhenFinishedKeyword_7_0_0 = (Keyword)cRefreshEnabledAssignment_7_0.eContents().get(0); |
| private final Assignment cRefreshAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); |
| private final RuleCall cRefreshSTRINGTerminalRuleCall_7_1_0 = (RuleCall)cRefreshAssignment_7_1.eContents().get(0); |
| private final Keyword cFileKeyword_8 = (Keyword)cGroup.eContents().get(8); |
| private final Assignment cFileEndpointAssignment_9 = (Assignment)cGroup.eContents().get(9); |
| private final RuleCall cFileEndpointDataInterchangeFileParserRuleCall_9_0 = (RuleCall)cFileEndpointAssignment_9.eContents().get(0); |
| private final Keyword cBeansKeyword_10 = (Keyword)cGroup.eContents().get(10); |
| private final Keyword cLeftCurlyBracketKeyword_11 = (Keyword)cGroup.eContents().get(11); |
| private final Assignment cPathAssignment_12 = (Assignment)cGroup.eContents().get(12); |
| private final RuleCall cPathDataInterchangeBeanParserRuleCall_12_0 = (RuleCall)cPathAssignment_12.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_13 = (Keyword)cGroup.eContents().get(13); |
| |
| //DataInterchange: |
| // {DataInterchange} "interchange" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)? |
| // createReport?="create report"? ("averageElementSize" elementSize=INT)? ("progressBarStyle" |
| // progressBarStyle=ProgressBarStylesEnum)? (refreshEnabled?="refreshViewWhenFinished" refresh=STRING)? "file" |
| // fileEndpoint=DataInterchangeFile "beans" "{" path+=DataInterchangeBean* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchange} "interchange" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)? |
| //createReport?="create report"? ("averageElementSize" elementSize=INT)? ("progressBarStyle" |
| //progressBarStyle=ProgressBarStylesEnum)? (refreshEnabled?="refreshViewWhenFinished" refresh=STRING)? "file" |
| //fileEndpoint=DataInterchangeFile "beans" "{" path+=DataInterchangeBean* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchange} |
| public Action getDataInterchangeAction_0() { return cDataInterchangeAction_0; } |
| |
| //"interchange" |
| public Keyword getInterchangeKeyword_1() { return cInterchangeKeyword_1; } |
| |
| //name=TRANSLATABLEID |
| public Assignment getNameAssignment_2() { return cNameAssignment_2; } |
| |
| //TRANSLATABLEID |
| public RuleCall getNameTRANSLATABLEIDParserRuleCall_2_0() { return cNameTRANSLATABLEIDParserRuleCall_2_0; } |
| |
| //(description?="described by" descriptionValue=TRANSLATABLESTRING)? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //description?="described by" |
| public Assignment getDescriptionAssignment_3_0() { return cDescriptionAssignment_3_0; } |
| |
| //"described by" |
| public Keyword getDescriptionDescribedByKeyword_3_0_0() { return cDescriptionDescribedByKeyword_3_0_0; } |
| |
| //descriptionValue=TRANSLATABLESTRING |
| public Assignment getDescriptionValueAssignment_3_1() { return cDescriptionValueAssignment_3_1; } |
| |
| //TRANSLATABLESTRING |
| public RuleCall getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0() { return cDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0; } |
| |
| //createReport?="create report"? |
| public Assignment getCreateReportAssignment_4() { return cCreateReportAssignment_4; } |
| |
| //"create report" |
| public Keyword getCreateReportCreateReportKeyword_4_0() { return cCreateReportCreateReportKeyword_4_0; } |
| |
| //("averageElementSize" elementSize=INT)? |
| public Group getGroup_5() { return cGroup_5; } |
| |
| //"averageElementSize" |
| public Keyword getAverageElementSizeKeyword_5_0() { return cAverageElementSizeKeyword_5_0; } |
| |
| //elementSize=INT |
| public Assignment getElementSizeAssignment_5_1() { return cElementSizeAssignment_5_1; } |
| |
| //INT |
| public RuleCall getElementSizeINTTerminalRuleCall_5_1_0() { return cElementSizeINTTerminalRuleCall_5_1_0; } |
| |
| //("progressBarStyle" progressBarStyle=ProgressBarStylesEnum)? |
| public Group getGroup_6() { return cGroup_6; } |
| |
| //"progressBarStyle" |
| public Keyword getProgressBarStyleKeyword_6_0() { return cProgressBarStyleKeyword_6_0; } |
| |
| //progressBarStyle=ProgressBarStylesEnum |
| public Assignment getProgressBarStyleAssignment_6_1() { return cProgressBarStyleAssignment_6_1; } |
| |
| //ProgressBarStylesEnum |
| public RuleCall getProgressBarStyleProgressBarStylesEnumEnumRuleCall_6_1_0() { return cProgressBarStyleProgressBarStylesEnumEnumRuleCall_6_1_0; } |
| |
| //(refreshEnabled?="refreshViewWhenFinished" refresh=STRING)? |
| public Group getGroup_7() { return cGroup_7; } |
| |
| //refreshEnabled?="refreshViewWhenFinished" |
| public Assignment getRefreshEnabledAssignment_7_0() { return cRefreshEnabledAssignment_7_0; } |
| |
| //"refreshViewWhenFinished" |
| public Keyword getRefreshEnabledRefreshViewWhenFinishedKeyword_7_0_0() { return cRefreshEnabledRefreshViewWhenFinishedKeyword_7_0_0; } |
| |
| //refresh=STRING |
| public Assignment getRefreshAssignment_7_1() { return cRefreshAssignment_7_1; } |
| |
| //STRING |
| public RuleCall getRefreshSTRINGTerminalRuleCall_7_1_0() { return cRefreshSTRINGTerminalRuleCall_7_1_0; } |
| |
| //"file" |
| public Keyword getFileKeyword_8() { return cFileKeyword_8; } |
| |
| //fileEndpoint=DataInterchangeFile |
| public Assignment getFileEndpointAssignment_9() { return cFileEndpointAssignment_9; } |
| |
| //DataInterchangeFile |
| public RuleCall getFileEndpointDataInterchangeFileParserRuleCall_9_0() { return cFileEndpointDataInterchangeFileParserRuleCall_9_0; } |
| |
| //"beans" |
| public Keyword getBeansKeyword_10() { return cBeansKeyword_10; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_11() { return cLeftCurlyBracketKeyword_11; } |
| |
| //path+=DataInterchangeBean* |
| public Assignment getPathAssignment_12() { return cPathAssignment_12; } |
| |
| //DataInterchangeBean |
| public RuleCall getPathDataInterchangeBeanParserRuleCall_12_0() { return cPathDataInterchangeBeanParserRuleCall_12_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_13() { return cRightCurlyBracketKeyword_13; } |
| } |
| |
| public class DataInterchangeFileElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeFile"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cDataInterchangeFileXMLParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cDataInterchangeFileCSVParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| private final RuleCall cDataInterchangeFileEDIParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); |
| |
| //DataInterchangeFile: |
| // DataInterchangeFileXML | DataInterchangeFileCSV | DataInterchangeFileEDI; |
| public ParserRule getRule() { return rule; } |
| |
| //DataInterchangeFileXML | DataInterchangeFileCSV | DataInterchangeFileEDI |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //DataInterchangeFileXML |
| public RuleCall getDataInterchangeFileXMLParserRuleCall_0() { return cDataInterchangeFileXMLParserRuleCall_0; } |
| |
| //DataInterchangeFileCSV |
| public RuleCall getDataInterchangeFileCSVParserRuleCall_1() { return cDataInterchangeFileCSVParserRuleCall_1; } |
| |
| //DataInterchangeFileEDI |
| public RuleCall getDataInterchangeFileEDIParserRuleCall_2() { return cDataInterchangeFileEDIParserRuleCall_2; } |
| } |
| |
| public class DataInterchangeFileXMLElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeFileXML"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeFileXMLAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cXMLKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cFileURLAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cFileURLSTRINGTerminalRuleCall_2_0 = (RuleCall)cFileURLAssignment_2.eContents().get(0); |
| |
| //DataInterchangeFileXML: |
| // {DataInterchangeFileXML} "XML" fileURL=STRING; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeFileXML} "XML" fileURL=STRING |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeFileXML} |
| public Action getDataInterchangeFileXMLAction_0() { return cDataInterchangeFileXMLAction_0; } |
| |
| //"XML" |
| public Keyword getXMLKeyword_1() { return cXMLKeyword_1; } |
| |
| //fileURL=STRING |
| public Assignment getFileURLAssignment_2() { return cFileURLAssignment_2; } |
| |
| //STRING |
| public RuleCall getFileURLSTRINGTerminalRuleCall_2_0() { return cFileURLSTRINGTerminalRuleCall_2_0; } |
| } |
| |
| public class DataInterchangeFileCSVElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeFileCSV"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeFileCSVAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cCSVKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cFileURLAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cFileURLSTRINGTerminalRuleCall_2_0 = (RuleCall)cFileURLAssignment_2.eContents().get(0); |
| private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); |
| private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); |
| private final Keyword cDelimiterKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); |
| private final Assignment cDelimiterAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); |
| private final RuleCall cDelimiterSTRINGTerminalRuleCall_3_0_1_0 = (RuleCall)cDelimiterAssignment_3_0_1.eContents().get(0); |
| private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); |
| private final Keyword cQuoteCharacterKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); |
| private final Assignment cQuoteCharacterAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); |
| private final RuleCall cQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0 = (RuleCall)cQuoteCharacterAssignment_3_1_1.eContents().get(0); |
| private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); |
| private final Keyword cSkipLinesKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); |
| private final Assignment cSkipLinesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); |
| private final RuleCall cSkipLinesINTTerminalRuleCall_3_2_1_0 = (RuleCall)cSkipLinesAssignment_3_2_1.eContents().get(0); |
| private final Assignment cIndentAssignment_3_3 = (Assignment)cUnorderedGroup_3.eContents().get(3); |
| private final Keyword cIndentIndentKeyword_3_3_0 = (Keyword)cIndentAssignment_3_3.eContents().get(0); |
| private final Assignment cStrictAssignment_3_4 = (Assignment)cUnorderedGroup_3.eContents().get(4); |
| private final Keyword cStrictStrictKeyword_3_4_0 = (Keyword)cStrictAssignment_3_4.eContents().get(0); |
| private final Assignment cValidateHeaderAssignment_3_5 = (Assignment)cUnorderedGroup_3.eContents().get(5); |
| private final Keyword cValidateHeaderValidateHeaderKeyword_3_5_0 = (Keyword)cValidateHeaderAssignment_3_5.eContents().get(0); |
| private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); |
| private final Keyword cEncodingKeyword_3_6_0 = (Keyword)cGroup_3_6.eContents().get(0); |
| private final Assignment cEncodingAssignment_3_6_1 = (Assignment)cGroup_3_6.eContents().get(1); |
| private final RuleCall cEncodingSTRINGTerminalRuleCall_3_6_1_0 = (RuleCall)cEncodingAssignment_3_6_1.eContents().get(0); |
| |
| //DataInterchangeFileCSV: |
| // {DataInterchangeFileCSV} "CSV" fileURL=STRING (("delimiter" delimiter=STRING)? & ("quoteCharacter" |
| // quoteCharacter=STRING)? & ("skipLines" skipLines=INT)? & indent?="indent"? & strict?="strict"? & |
| // validateHeader?="validateHeader"? & ("encoding" encoding=STRING)?); |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeFileCSV} "CSV" fileURL=STRING (("delimiter" delimiter=STRING)? & ("quoteCharacter" |
| //quoteCharacter=STRING)? & ("skipLines" skipLines=INT)? & indent?="indent"? & strict?="strict"? & |
| //validateHeader?="validateHeader"? & ("encoding" encoding=STRING)?) |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeFileCSV} |
| public Action getDataInterchangeFileCSVAction_0() { return cDataInterchangeFileCSVAction_0; } |
| |
| //"CSV" |
| public Keyword getCSVKeyword_1() { return cCSVKeyword_1; } |
| |
| //fileURL=STRING |
| public Assignment getFileURLAssignment_2() { return cFileURLAssignment_2; } |
| |
| //STRING |
| public RuleCall getFileURLSTRINGTerminalRuleCall_2_0() { return cFileURLSTRINGTerminalRuleCall_2_0; } |
| |
| //("delimiter" delimiter=STRING)? & ("quoteCharacter" quoteCharacter=STRING)? & ("skipLines" skipLines=INT)? & |
| //indent?="indent"? & strict?="strict"? & validateHeader?="validateHeader"? & ("encoding" encoding=STRING)? |
| public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } |
| |
| //("delimiter" delimiter=STRING)? |
| public Group getGroup_3_0() { return cGroup_3_0; } |
| |
| //"delimiter" |
| public Keyword getDelimiterKeyword_3_0_0() { return cDelimiterKeyword_3_0_0; } |
| |
| //delimiter=STRING |
| public Assignment getDelimiterAssignment_3_0_1() { return cDelimiterAssignment_3_0_1; } |
| |
| //STRING |
| public RuleCall getDelimiterSTRINGTerminalRuleCall_3_0_1_0() { return cDelimiterSTRINGTerminalRuleCall_3_0_1_0; } |
| |
| //("quoteCharacter" quoteCharacter=STRING)? |
| public Group getGroup_3_1() { return cGroup_3_1; } |
| |
| //"quoteCharacter" |
| public Keyword getQuoteCharacterKeyword_3_1_0() { return cQuoteCharacterKeyword_3_1_0; } |
| |
| //quoteCharacter=STRING |
| public Assignment getQuoteCharacterAssignment_3_1_1() { return cQuoteCharacterAssignment_3_1_1; } |
| |
| //STRING |
| public RuleCall getQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0() { return cQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0; } |
| |
| //("skipLines" skipLines=INT)? |
| public Group getGroup_3_2() { return cGroup_3_2; } |
| |
| //"skipLines" |
| public Keyword getSkipLinesKeyword_3_2_0() { return cSkipLinesKeyword_3_2_0; } |
| |
| //skipLines=INT |
| public Assignment getSkipLinesAssignment_3_2_1() { return cSkipLinesAssignment_3_2_1; } |
| |
| //INT |
| public RuleCall getSkipLinesINTTerminalRuleCall_3_2_1_0() { return cSkipLinesINTTerminalRuleCall_3_2_1_0; } |
| |
| //indent?="indent"? |
| public Assignment getIndentAssignment_3_3() { return cIndentAssignment_3_3; } |
| |
| //"indent" |
| public Keyword getIndentIndentKeyword_3_3_0() { return cIndentIndentKeyword_3_3_0; } |
| |
| //strict?="strict"? |
| public Assignment getStrictAssignment_3_4() { return cStrictAssignment_3_4; } |
| |
| //"strict" |
| public Keyword getStrictStrictKeyword_3_4_0() { return cStrictStrictKeyword_3_4_0; } |
| |
| //validateHeader?="validateHeader"? |
| public Assignment getValidateHeaderAssignment_3_5() { return cValidateHeaderAssignment_3_5; } |
| |
| //"validateHeader" |
| public Keyword getValidateHeaderValidateHeaderKeyword_3_5_0() { return cValidateHeaderValidateHeaderKeyword_3_5_0; } |
| |
| //("encoding" encoding=STRING)? |
| public Group getGroup_3_6() { return cGroup_3_6; } |
| |
| //"encoding" |
| public Keyword getEncodingKeyword_3_6_0() { return cEncodingKeyword_3_6_0; } |
| |
| //encoding=STRING |
| public Assignment getEncodingAssignment_3_6_1() { return cEncodingAssignment_3_6_1; } |
| |
| //STRING |
| public RuleCall getEncodingSTRINGTerminalRuleCall_3_6_1_0() { return cEncodingSTRINGTerminalRuleCall_3_6_1_0; } |
| } |
| |
| public class DataInterchangeFileEDIElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeFileEDI"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeFileEDIAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cEDIKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cFileURLAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final RuleCall cFileURLSTRINGTerminalRuleCall_2_0 = (RuleCall)cFileURLAssignment_2.eContents().get(0); |
| private final Keyword cMappingModelKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cMappingModelAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cMappingModelSTRINGTerminalRuleCall_4_0 = (RuleCall)cMappingModelAssignment_4.eContents().get(0); |
| private final Assignment cValidateAssignment_5 = (Assignment)cGroup.eContents().get(5); |
| private final Keyword cValidateValidateKeyword_5_0 = (Keyword)cValidateAssignment_5.eContents().get(0); |
| |
| //DataInterchangeFileEDI: |
| // {DataInterchangeFileEDI} "EDI" fileURL=STRING "mappingModel" mappingModel=STRING validate?="validate"?; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeFileEDI} "EDI" fileURL=STRING "mappingModel" mappingModel=STRING validate?="validate"? |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeFileEDI} |
| public Action getDataInterchangeFileEDIAction_0() { return cDataInterchangeFileEDIAction_0; } |
| |
| //"EDI" |
| public Keyword getEDIKeyword_1() { return cEDIKeyword_1; } |
| |
| //fileURL=STRING |
| public Assignment getFileURLAssignment_2() { return cFileURLAssignment_2; } |
| |
| //STRING |
| public RuleCall getFileURLSTRINGTerminalRuleCall_2_0() { return cFileURLSTRINGTerminalRuleCall_2_0; } |
| |
| //"mappingModel" |
| public Keyword getMappingModelKeyword_3() { return cMappingModelKeyword_3; } |
| |
| //mappingModel=STRING |
| public Assignment getMappingModelAssignment_4() { return cMappingModelAssignment_4; } |
| |
| //STRING |
| public RuleCall getMappingModelSTRINGTerminalRuleCall_4_0() { return cMappingModelSTRINGTerminalRuleCall_4_0; } |
| |
| //validate?="validate"? |
| public Assignment getValidateAssignment_5() { return cValidateAssignment_5; } |
| |
| //"validate" |
| public Keyword getValidateValidateKeyword_5_0() { return cValidateValidateKeyword_5_0; } |
| } |
| |
| public class DataInterchangeBeanElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeBean"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeBeanAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cEntityKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cEntityAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cEntityLEntityCrossReference_2_0 = (CrossReference)cEntityAssignment_2.eContents().get(0); |
| private final RuleCall cEntityLEntityLFQNParserRuleCall_2_0_1 = (RuleCall)cEntityLEntityCrossReference_2_0.eContents().get(1); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Keyword cCreateOnKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); |
| private final Assignment cElementMapAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); |
| private final RuleCall cElementMapSTRINGTerminalRuleCall_3_1_0 = (RuleCall)cElementMapAssignment_3_1.eContents().get(0); |
| private final Group cGroup_4 = (Group)cGroup.eContents().get(4); |
| private final Assignment cMarkLatestAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); |
| private final Keyword cMarkLatestMarkerKeyword_4_0_0 = (Keyword)cMarkLatestAssignment_4_0.eContents().get(0); |
| private final Assignment cLatestPropertyAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); |
| private final CrossReference cLatestPropertyLEntityAttributeCrossReference_4_1_0 = (CrossReference)cLatestPropertyAssignment_4_1.eContents().get(0); |
| private final RuleCall cLatestPropertyLEntityAttributeIDTerminalRuleCall_4_1_0_1 = (RuleCall)cLatestPropertyLEntityAttributeCrossReference_4_1_0.eContents().get(1); |
| private final Alternatives cAlternatives_5 = (Alternatives)cGroup.eContents().get(5); |
| private final Assignment cRecordElementAssignment_5_0 = (Assignment)cAlternatives_5.eContents().get(0); |
| private final Keyword cRecordElementRecordElementKeyword_5_0_0 = (Keyword)cRecordElementAssignment_5_0.eContents().get(0); |
| private final Assignment cRecordListAssignment_5_1 = (Assignment)cAlternatives_5.eContents().get(1); |
| private final Keyword cRecordListRecordListKeyword_5_1_0 = (Keyword)cRecordListAssignment_5_1.eContents().get(0); |
| private final Group cGroup_6 = (Group)cGroup.eContents().get(6); |
| private final Keyword cExpressionKeyword_6_0 = (Keyword)cGroup_6.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_6_1 = (Keyword)cGroup_6.eContents().get(1); |
| private final Assignment cExpressionAssignment_6_2 = (Assignment)cGroup_6.eContents().get(2); |
| private final RuleCall cExpressionDataInterchangeExpressionParserRuleCall_6_2_0 = (RuleCall)cExpressionAssignment_6_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_6_3 = (Keyword)cGroup_6.eContents().get(3); |
| private final Group cGroup_7 = (Group)cGroup.eContents().get(7); |
| private final Keyword cLookupKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_7_1 = (Keyword)cGroup_7.eContents().get(1); |
| private final Assignment cLookupAssignment_7_2 = (Assignment)cGroup_7.eContents().get(2); |
| private final RuleCall cLookupDataInterchangeLookupParserRuleCall_7_2_0 = (RuleCall)cLookupAssignment_7_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_7_3 = (Keyword)cGroup_7.eContents().get(3); |
| private final Group cGroup_8 = (Group)cGroup.eContents().get(8); |
| private final Keyword cFormatKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_8_1 = (Keyword)cGroup_8.eContents().get(1); |
| private final Assignment cFormatAssignment_8_2 = (Assignment)cGroup_8.eContents().get(2); |
| private final RuleCall cFormatDataInterchangeFormatParserRuleCall_8_2_0 = (RuleCall)cFormatAssignment_8_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_8_3 = (Keyword)cGroup_8.eContents().get(3); |
| private final Group cGroup_9 = (Group)cGroup.eContents().get(9); |
| private final Keyword cMappingKeyword_9_0 = (Keyword)cGroup_9.eContents().get(0); |
| private final Keyword cLeftCurlyBracketKeyword_9_1 = (Keyword)cGroup_9.eContents().get(1); |
| private final Assignment cMappingsAssignment_9_2 = (Assignment)cGroup_9.eContents().get(2); |
| private final RuleCall cMappingsDataInterchangeMappingParserRuleCall_9_2_0 = (RuleCall)cMappingsAssignment_9_2.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_9_3 = (Keyword)cGroup_9.eContents().get(3); |
| |
| //DataInterchangeBean: |
| // {DataInterchangeBean} "entity" entity=[entity::LEntity|LFQN] ("createOn" elementMap=STRING)? (markLatest?="marker" |
| // latestProperty=[entity::LEntityAttribute])? (recordElement?="recordElement" | recordList?="recordList")? ("expression" |
| // "{" expression+=DataInterchangeExpression* "}")? ("lookup" "{" lookup+=DataInterchangeLookup* "}")? ("format" "{" |
| // format+=DataInterchangeFormat* "}")? ("mapping" "{" mappings+=DataInterchangeMapping* "}")?; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeBean} "entity" entity=[entity::LEntity|LFQN] ("createOn" elementMap=STRING)? (markLatest?="marker" |
| //latestProperty=[entity::LEntityAttribute])? (recordElement?="recordElement" | recordList?="recordList")? ("expression" |
| //"{" expression+=DataInterchangeExpression* "}")? ("lookup" "{" lookup+=DataInterchangeLookup* "}")? ("format" "{" |
| //format+=DataInterchangeFormat* "}")? ("mapping" "{" mappings+=DataInterchangeMapping* "}")? |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeBean} |
| public Action getDataInterchangeBeanAction_0() { return cDataInterchangeBeanAction_0; } |
| |
| //"entity" |
| public Keyword getEntityKeyword_1() { return cEntityKeyword_1; } |
| |
| //entity=[entity::LEntity|LFQN] |
| public Assignment getEntityAssignment_2() { return cEntityAssignment_2; } |
| |
| //[entity::LEntity|LFQN] |
| public CrossReference getEntityLEntityCrossReference_2_0() { return cEntityLEntityCrossReference_2_0; } |
| |
| //LFQN |
| public RuleCall getEntityLEntityLFQNParserRuleCall_2_0_1() { return cEntityLEntityLFQNParserRuleCall_2_0_1; } |
| |
| //("createOn" elementMap=STRING)? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //"createOn" |
| public Keyword getCreateOnKeyword_3_0() { return cCreateOnKeyword_3_0; } |
| |
| //elementMap=STRING |
| public Assignment getElementMapAssignment_3_1() { return cElementMapAssignment_3_1; } |
| |
| //STRING |
| public RuleCall getElementMapSTRINGTerminalRuleCall_3_1_0() { return cElementMapSTRINGTerminalRuleCall_3_1_0; } |
| |
| //(markLatest?="marker" latestProperty=[entity::LEntityAttribute])? |
| public Group getGroup_4() { return cGroup_4; } |
| |
| //markLatest?="marker" |
| public Assignment getMarkLatestAssignment_4_0() { return cMarkLatestAssignment_4_0; } |
| |
| //"marker" |
| public Keyword getMarkLatestMarkerKeyword_4_0_0() { return cMarkLatestMarkerKeyword_4_0_0; } |
| |
| //latestProperty=[entity::LEntityAttribute] |
| public Assignment getLatestPropertyAssignment_4_1() { return cLatestPropertyAssignment_4_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getLatestPropertyLEntityAttributeCrossReference_4_1_0() { return cLatestPropertyLEntityAttributeCrossReference_4_1_0; } |
| |
| //ID |
| public RuleCall getLatestPropertyLEntityAttributeIDTerminalRuleCall_4_1_0_1() { return cLatestPropertyLEntityAttributeIDTerminalRuleCall_4_1_0_1; } |
| |
| //(recordElement?="recordElement" | recordList?="recordList")? |
| public Alternatives getAlternatives_5() { return cAlternatives_5; } |
| |
| //recordElement?="recordElement" |
| public Assignment getRecordElementAssignment_5_0() { return cRecordElementAssignment_5_0; } |
| |
| //"recordElement" |
| public Keyword getRecordElementRecordElementKeyword_5_0_0() { return cRecordElementRecordElementKeyword_5_0_0; } |
| |
| //recordList?="recordList" |
| public Assignment getRecordListAssignment_5_1() { return cRecordListAssignment_5_1; } |
| |
| //"recordList" |
| public Keyword getRecordListRecordListKeyword_5_1_0() { return cRecordListRecordListKeyword_5_1_0; } |
| |
| //("expression" "{" expression+=DataInterchangeExpression* "}")? |
| public Group getGroup_6() { return cGroup_6; } |
| |
| //"expression" |
| public Keyword getExpressionKeyword_6_0() { return cExpressionKeyword_6_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_6_1() { return cLeftCurlyBracketKeyword_6_1; } |
| |
| //expression+=DataInterchangeExpression* |
| public Assignment getExpressionAssignment_6_2() { return cExpressionAssignment_6_2; } |
| |
| //DataInterchangeExpression |
| public RuleCall getExpressionDataInterchangeExpressionParserRuleCall_6_2_0() { return cExpressionDataInterchangeExpressionParserRuleCall_6_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_6_3() { return cRightCurlyBracketKeyword_6_3; } |
| |
| //("lookup" "{" lookup+=DataInterchangeLookup* "}")? |
| public Group getGroup_7() { return cGroup_7; } |
| |
| //"lookup" |
| public Keyword getLookupKeyword_7_0() { return cLookupKeyword_7_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_7_1() { return cLeftCurlyBracketKeyword_7_1; } |
| |
| //lookup+=DataInterchangeLookup* |
| public Assignment getLookupAssignment_7_2() { return cLookupAssignment_7_2; } |
| |
| //DataInterchangeLookup |
| public RuleCall getLookupDataInterchangeLookupParserRuleCall_7_2_0() { return cLookupDataInterchangeLookupParserRuleCall_7_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_7_3() { return cRightCurlyBracketKeyword_7_3; } |
| |
| //("format" "{" format+=DataInterchangeFormat* "}")? |
| public Group getGroup_8() { return cGroup_8; } |
| |
| //"format" |
| public Keyword getFormatKeyword_8_0() { return cFormatKeyword_8_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_8_1() { return cLeftCurlyBracketKeyword_8_1; } |
| |
| //format+=DataInterchangeFormat* |
| public Assignment getFormatAssignment_8_2() { return cFormatAssignment_8_2; } |
| |
| //DataInterchangeFormat |
| public RuleCall getFormatDataInterchangeFormatParserRuleCall_8_2_0() { return cFormatDataInterchangeFormatParserRuleCall_8_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_8_3() { return cRightCurlyBracketKeyword_8_3; } |
| |
| //("mapping" "{" mappings+=DataInterchangeMapping* "}")? |
| public Group getGroup_9() { return cGroup_9; } |
| |
| //"mapping" |
| public Keyword getMappingKeyword_9_0() { return cMappingKeyword_9_0; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_9_1() { return cLeftCurlyBracketKeyword_9_1; } |
| |
| //mappings+=DataInterchangeMapping* |
| public Assignment getMappingsAssignment_9_2() { return cMappingsAssignment_9_2; } |
| |
| //DataInterchangeMapping |
| public RuleCall getMappingsDataInterchangeMappingParserRuleCall_9_2_0() { return cMappingsDataInterchangeMappingParserRuleCall_9_2_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_9_3() { return cRightCurlyBracketKeyword_9_3; } |
| } |
| |
| public class DataInterchangeLookupElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeLookup"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeLookupAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cForKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cTargetPropertyLEntityReferenceCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0); |
| private final RuleCall cTargetPropertyLEntityReferenceIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityReferenceCrossReference_2_0.eContents().get(1); |
| private final Keyword cOnKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cEntityAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final CrossReference cEntityLEntityCrossReference_4_0 = (CrossReference)cEntityAssignment_4.eContents().get(0); |
| private final RuleCall cEntityLEntityIDTerminalRuleCall_4_0_1 = (RuleCall)cEntityLEntityCrossReference_4_0.eContents().get(1); |
| private final Group cGroup_5 = (Group)cGroup.eContents().get(5); |
| private final Keyword cCreateOnKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); |
| private final Assignment cElementMapAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); |
| private final RuleCall cElementMapSTRINGTerminalRuleCall_5_1_0 = (RuleCall)cElementMapAssignment_5_1.eContents().get(0); |
| private final Keyword cWithKeyword_6 = (Keyword)cGroup.eContents().get(6); |
| private final Assignment cQueryPropertyAssignment_7 = (Assignment)cGroup.eContents().get(7); |
| private final CrossReference cQueryPropertyLEntityAttributeCrossReference_7_0 = (CrossReference)cQueryPropertyAssignment_7.eContents().get(0); |
| private final RuleCall cQueryPropertyLEntityAttributeIDTerminalRuleCall_7_0_1 = (RuleCall)cQueryPropertyLEntityAttributeCrossReference_7_0.eContents().get(1); |
| private final Group cGroup_8 = (Group)cGroup.eContents().get(8); |
| private final Assignment cCachedAssignment_8_0 = (Assignment)cGroup_8.eContents().get(0); |
| private final Keyword cCachedCacheSizeKeyword_8_0_0 = (Keyword)cCachedAssignment_8_0.eContents().get(0); |
| private final Assignment cCacheSizeAssignment_8_1 = (Assignment)cGroup_8.eContents().get(1); |
| private final RuleCall cCacheSizeINTTerminalRuleCall_8_1_0 = (RuleCall)cCacheSizeAssignment_8_1.eContents().get(0); |
| private final Group cGroup_9 = (Group)cGroup.eContents().get(9); |
| private final Keyword cMapToKeyword_9_0 = (Keyword)cGroup_9.eContents().get(0); |
| private final Assignment cDataMapAssignment_9_1 = (Assignment)cGroup_9.eContents().get(1); |
| private final RuleCall cDataMapSTRINGTerminalRuleCall_9_1_0 = (RuleCall)cDataMapAssignment_9_1.eContents().get(0); |
| private final UnorderedGroup cUnorderedGroup_10 = (UnorderedGroup)cGroup.eContents().get(10); |
| private final Assignment cAllowNoResultAssignment_10_0 = (Assignment)cUnorderedGroup_10.eContents().get(0); |
| private final Keyword cAllowNoResultAllowNoResultKeyword_10_0_0 = (Keyword)cAllowNoResultAssignment_10_0.eContents().get(0); |
| private final Assignment cAllowNonuniqueResultAssignment_10_1 = (Assignment)cUnorderedGroup_10.eContents().get(1); |
| private final Keyword cAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0 = (Keyword)cAllowNonuniqueResultAssignment_10_1.eContents().get(0); |
| private final Assignment cMarkerPathAssignment_10_2 = (Assignment)cUnorderedGroup_10.eContents().get(2); |
| private final RuleCall cMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0 = (RuleCall)cMarkerPathAssignment_10_2.eContents().get(0); |
| |
| //DataInterchangeLookup: |
| // {DataInterchangeLookup} "for" targetProperty=[entity::LEntityReference] "on" entity=[entity::LEntity] ("createOn" |
| // elementMap=STRING)? "with" queryProperty=[entity::LEntityAttribute] (cached?="cacheSize" cacheSize=INT)? ("mapTo" |
| // dataMap=STRING)? (allowNoResult?="allowNoResult"? & allowNonuniqueResult?="allowNonuniqueResult"? & |
| // markerPath=DataInterchangeMarkerPath?); |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeLookup} "for" targetProperty=[entity::LEntityReference] "on" entity=[entity::LEntity] ("createOn" |
| //elementMap=STRING)? "with" queryProperty=[entity::LEntityAttribute] (cached?="cacheSize" cacheSize=INT)? ("mapTo" |
| //dataMap=STRING)? (allowNoResult?="allowNoResult"? & allowNonuniqueResult?="allowNonuniqueResult"? & |
| //markerPath=DataInterchangeMarkerPath?) |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeLookup} |
| public Action getDataInterchangeLookupAction_0() { return cDataInterchangeLookupAction_0; } |
| |
| //"for" |
| public Keyword getForKeyword_1() { return cForKeyword_1; } |
| |
| //targetProperty=[entity::LEntityReference] |
| public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; } |
| |
| //[entity::LEntityReference] |
| public CrossReference getTargetPropertyLEntityReferenceCrossReference_2_0() { return cTargetPropertyLEntityReferenceCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getTargetPropertyLEntityReferenceIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityReferenceIDTerminalRuleCall_2_0_1; } |
| |
| //"on" |
| public Keyword getOnKeyword_3() { return cOnKeyword_3; } |
| |
| //entity=[entity::LEntity] |
| public Assignment getEntityAssignment_4() { return cEntityAssignment_4; } |
| |
| //[entity::LEntity] |
| public CrossReference getEntityLEntityCrossReference_4_0() { return cEntityLEntityCrossReference_4_0; } |
| |
| //ID |
| public RuleCall getEntityLEntityIDTerminalRuleCall_4_0_1() { return cEntityLEntityIDTerminalRuleCall_4_0_1; } |
| |
| //("createOn" elementMap=STRING)? |
| public Group getGroup_5() { return cGroup_5; } |
| |
| //"createOn" |
| public Keyword getCreateOnKeyword_5_0() { return cCreateOnKeyword_5_0; } |
| |
| //elementMap=STRING |
| public Assignment getElementMapAssignment_5_1() { return cElementMapAssignment_5_1; } |
| |
| //STRING |
| public RuleCall getElementMapSTRINGTerminalRuleCall_5_1_0() { return cElementMapSTRINGTerminalRuleCall_5_1_0; } |
| |
| //"with" |
| public Keyword getWithKeyword_6() { return cWithKeyword_6; } |
| |
| //queryProperty=[entity::LEntityAttribute] |
| public Assignment getQueryPropertyAssignment_7() { return cQueryPropertyAssignment_7; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getQueryPropertyLEntityAttributeCrossReference_7_0() { return cQueryPropertyLEntityAttributeCrossReference_7_0; } |
| |
| //ID |
| public RuleCall getQueryPropertyLEntityAttributeIDTerminalRuleCall_7_0_1() { return cQueryPropertyLEntityAttributeIDTerminalRuleCall_7_0_1; } |
| |
| //(cached?="cacheSize" cacheSize=INT)? |
| public Group getGroup_8() { return cGroup_8; } |
| |
| //cached?="cacheSize" |
| public Assignment getCachedAssignment_8_0() { return cCachedAssignment_8_0; } |
| |
| //"cacheSize" |
| public Keyword getCachedCacheSizeKeyword_8_0_0() { return cCachedCacheSizeKeyword_8_0_0; } |
| |
| //cacheSize=INT |
| public Assignment getCacheSizeAssignment_8_1() { return cCacheSizeAssignment_8_1; } |
| |
| //INT |
| public RuleCall getCacheSizeINTTerminalRuleCall_8_1_0() { return cCacheSizeINTTerminalRuleCall_8_1_0; } |
| |
| //("mapTo" dataMap=STRING)? |
| public Group getGroup_9() { return cGroup_9; } |
| |
| //"mapTo" |
| public Keyword getMapToKeyword_9_0() { return cMapToKeyword_9_0; } |
| |
| //dataMap=STRING |
| public Assignment getDataMapAssignment_9_1() { return cDataMapAssignment_9_1; } |
| |
| //STRING |
| public RuleCall getDataMapSTRINGTerminalRuleCall_9_1_0() { return cDataMapSTRINGTerminalRuleCall_9_1_0; } |
| |
| //allowNoResult?="allowNoResult"? & allowNonuniqueResult?="allowNonuniqueResult"? & markerPath=DataInterchangeMarkerPath? |
| public UnorderedGroup getUnorderedGroup_10() { return cUnorderedGroup_10; } |
| |
| //allowNoResult?="allowNoResult"? |
| public Assignment getAllowNoResultAssignment_10_0() { return cAllowNoResultAssignment_10_0; } |
| |
| //"allowNoResult" |
| public Keyword getAllowNoResultAllowNoResultKeyword_10_0_0() { return cAllowNoResultAllowNoResultKeyword_10_0_0; } |
| |
| //allowNonuniqueResult?="allowNonuniqueResult"? |
| public Assignment getAllowNonuniqueResultAssignment_10_1() { return cAllowNonuniqueResultAssignment_10_1; } |
| |
| //"allowNonuniqueResult" |
| public Keyword getAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0() { return cAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0; } |
| |
| //markerPath=DataInterchangeMarkerPath? |
| public Assignment getMarkerPathAssignment_10_2() { return cMarkerPathAssignment_10_2; } |
| |
| //DataInterchangeMarkerPath |
| public RuleCall getMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0() { return cMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0; } |
| } |
| |
| public class DataInterchangeMarkerPathElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeMarkerPath"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeMarkerPathAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cMarkerPathKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); |
| private final Assignment cPathAssignment_3 = (Assignment)cGroup.eContents().get(3); |
| private final RuleCall cPathDataInterchangeMarkerEntityParserRuleCall_3_0 = (RuleCall)cPathAssignment_3.eContents().get(0); |
| private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
| |
| //DataInterchangeMarkerPath: |
| // {DataInterchangeMarkerPath} "markerPath" "{" path+=DataInterchangeMarkerEntity* "}"; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeMarkerPath} "markerPath" "{" path+=DataInterchangeMarkerEntity* "}" |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeMarkerPath} |
| public Action getDataInterchangeMarkerPathAction_0() { return cDataInterchangeMarkerPathAction_0; } |
| |
| //"markerPath" |
| public Keyword getMarkerPathKeyword_1() { return cMarkerPathKeyword_1; } |
| |
| //"{" |
| public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
| |
| //path+=DataInterchangeMarkerEntity* |
| public Assignment getPathAssignment_3() { return cPathAssignment_3; } |
| |
| //DataInterchangeMarkerEntity |
| public RuleCall getPathDataInterchangeMarkerEntityParserRuleCall_3_0() { return cPathDataInterchangeMarkerEntityParserRuleCall_3_0; } |
| |
| //"}" |
| public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
| } |
| |
| public class DataInterchangeMarkerEntityElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeMarkerEntity"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeMarkerEntityAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cMarkerEntityKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cMarkerEntityAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cMarkerEntityLEntityCrossReference_2_0 = (CrossReference)cMarkerEntityAssignment_2.eContents().get(0); |
| private final RuleCall cMarkerEntityLEntityLFQNParserRuleCall_2_0_1 = (RuleCall)cMarkerEntityLEntityCrossReference_2_0.eContents().get(1); |
| private final Group cGroup_3 = (Group)cGroup.eContents().get(3); |
| private final Assignment cMarkLatestAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); |
| private final Keyword cMarkLatestMarkedByKeyword_3_0_0 = (Keyword)cMarkLatestAssignment_3_0.eContents().get(0); |
| private final Assignment cMarkerPropertyAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); |
| private final CrossReference cMarkerPropertyLEntityAttributeCrossReference_3_1_0 = (CrossReference)cMarkerPropertyAssignment_3_1.eContents().get(0); |
| private final RuleCall cMarkerPropertyLEntityAttributeIDTerminalRuleCall_3_1_0_1 = (RuleCall)cMarkerPropertyLEntityAttributeCrossReference_3_1_0.eContents().get(1); |
| |
| //DataInterchangeMarkerEntity: |
| // {DataInterchangeMarkerEntity} "markerEntity" markerEntity=[entity::LEntity|LFQN] (markLatest?="markedBy" |
| // markerProperty=[entity::LEntityAttribute])?; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeMarkerEntity} "markerEntity" markerEntity=[entity::LEntity|LFQN] (markLatest?="markedBy" |
| //markerProperty=[entity::LEntityAttribute])? |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeMarkerEntity} |
| public Action getDataInterchangeMarkerEntityAction_0() { return cDataInterchangeMarkerEntityAction_0; } |
| |
| //"markerEntity" |
| public Keyword getMarkerEntityKeyword_1() { return cMarkerEntityKeyword_1; } |
| |
| //markerEntity=[entity::LEntity|LFQN] |
| public Assignment getMarkerEntityAssignment_2() { return cMarkerEntityAssignment_2; } |
| |
| //[entity::LEntity|LFQN] |
| public CrossReference getMarkerEntityLEntityCrossReference_2_0() { return cMarkerEntityLEntityCrossReference_2_0; } |
| |
| //LFQN |
| public RuleCall getMarkerEntityLEntityLFQNParserRuleCall_2_0_1() { return cMarkerEntityLEntityLFQNParserRuleCall_2_0_1; } |
| |
| //(markLatest?="markedBy" markerProperty=[entity::LEntityAttribute])? |
| public Group getGroup_3() { return cGroup_3; } |
| |
| //markLatest?="markedBy" |
| public Assignment getMarkLatestAssignment_3_0() { return cMarkLatestAssignment_3_0; } |
| |
| //"markedBy" |
| public Keyword getMarkLatestMarkedByKeyword_3_0_0() { return cMarkLatestMarkedByKeyword_3_0_0; } |
| |
| //markerProperty=[entity::LEntityAttribute] |
| public Assignment getMarkerPropertyAssignment_3_1() { return cMarkerPropertyAssignment_3_1; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getMarkerPropertyLEntityAttributeCrossReference_3_1_0() { return cMarkerPropertyLEntityAttributeCrossReference_3_1_0; } |
| |
| //ID |
| public RuleCall getMarkerPropertyLEntityAttributeIDTerminalRuleCall_3_1_0_1() { return cMarkerPropertyLEntityAttributeIDTerminalRuleCall_3_1_0_1; } |
| } |
| |
| public class DataInterchangeFormatElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeFormat"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeFormatAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cForKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cTargetPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0); |
| private final RuleCall cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityAttributeCrossReference_2_0.eContents().get(1); |
| private final Keyword cCodingKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cFormatAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cFormatSTRINGTerminalRuleCall_4_0 = (RuleCall)cFormatAssignment_4.eContents().get(0); |
| private final Group cGroup_5 = (Group)cGroup.eContents().get(5); |
| private final Keyword cLocaleKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); |
| private final Assignment cLocaleAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); |
| private final RuleCall cLocaleSTRINGTerminalRuleCall_5_1_0 = (RuleCall)cLocaleAssignment_5_1.eContents().get(0); |
| |
| //DataInterchangeFormat: |
| // {DataInterchangeFormat} "for" targetProperty=[entity::LEntityAttribute] "coding" format=STRING ("locale" |
| // locale=STRING)?; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeFormat} "for" targetProperty=[entity::LEntityAttribute] "coding" format=STRING ("locale" locale=STRING)? |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeFormat} |
| public Action getDataInterchangeFormatAction_0() { return cDataInterchangeFormatAction_0; } |
| |
| //"for" |
| public Keyword getForKeyword_1() { return cForKeyword_1; } |
| |
| //targetProperty=[entity::LEntityAttribute] |
| public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getTargetPropertyLEntityAttributeCrossReference_2_0() { return cTargetPropertyLEntityAttributeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; } |
| |
| //"coding" |
| public Keyword getCodingKeyword_3() { return cCodingKeyword_3; } |
| |
| //format=STRING |
| public Assignment getFormatAssignment_4() { return cFormatAssignment_4; } |
| |
| //STRING |
| public RuleCall getFormatSTRINGTerminalRuleCall_4_0() { return cFormatSTRINGTerminalRuleCall_4_0; } |
| |
| //("locale" locale=STRING)? |
| public Group getGroup_5() { return cGroup_5; } |
| |
| //"locale" |
| public Keyword getLocaleKeyword_5_0() { return cLocaleKeyword_5_0; } |
| |
| //locale=STRING |
| public Assignment getLocaleAssignment_5_1() { return cLocaleAssignment_5_1; } |
| |
| //STRING |
| public RuleCall getLocaleSTRINGTerminalRuleCall_5_1_0() { return cLocaleSTRINGTerminalRuleCall_5_1_0; } |
| } |
| |
| public class DataInterchangeExpressionElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeExpression"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final RuleCall cDataInterchangeEntityExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
| private final RuleCall cDataInterchangePredefinedExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
| |
| //DataInterchangeExpression: |
| // DataInterchangeEntityExpression | DataInterchangePredefinedExpression; |
| public ParserRule getRule() { return rule; } |
| |
| //DataInterchangeEntityExpression | DataInterchangePredefinedExpression |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //DataInterchangeEntityExpression |
| public RuleCall getDataInterchangeEntityExpressionParserRuleCall_0() { return cDataInterchangeEntityExpressionParserRuleCall_0; } |
| |
| //DataInterchangePredefinedExpression |
| public RuleCall getDataInterchangePredefinedExpressionParserRuleCall_1() { return cDataInterchangePredefinedExpressionParserRuleCall_1; } |
| } |
| |
| public class DataInterchangeEntityExpressionElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeEntityExpression"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeEntityExpressionAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cCopyKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cTargetPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0); |
| private final RuleCall cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityAttributeCrossReference_2_0.eContents().get(1); |
| private final Keyword cFromKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cEntityAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final CrossReference cEntityLEntityCrossReference_4_0 = (CrossReference)cEntityAssignment_4.eContents().get(0); |
| private final RuleCall cEntityLEntityLFQNParserRuleCall_4_0_1 = (RuleCall)cEntityLEntityCrossReference_4_0.eContents().get(1); |
| private final Keyword cPropertyKeyword_5 = (Keyword)cGroup.eContents().get(5); |
| private final Assignment cPropertyAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final CrossReference cPropertyLEntityAttributeCrossReference_6_0 = (CrossReference)cPropertyAssignment_6.eContents().get(0); |
| private final RuleCall cPropertyLEntityAttributeIDTerminalRuleCall_6_0_1 = (RuleCall)cPropertyLEntityAttributeCrossReference_6_0.eContents().get(1); |
| |
| //DataInterchangeEntityExpression: |
| // {DataInterchangeEntityExpression} "copy" targetProperty=[entity::LEntityAttribute] "from" |
| // entity=[entity::LEntity|LFQN] "property" property=[entity::LEntityAttribute]; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeEntityExpression} "copy" targetProperty=[entity::LEntityAttribute] "from" entity=[entity::LEntity|LFQN] |
| //"property" property=[entity::LEntityAttribute] |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeEntityExpression} |
| public Action getDataInterchangeEntityExpressionAction_0() { return cDataInterchangeEntityExpressionAction_0; } |
| |
| //"copy" |
| public Keyword getCopyKeyword_1() { return cCopyKeyword_1; } |
| |
| //targetProperty=[entity::LEntityAttribute] |
| public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getTargetPropertyLEntityAttributeCrossReference_2_0() { return cTargetPropertyLEntityAttributeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; } |
| |
| //"from" |
| public Keyword getFromKeyword_3() { return cFromKeyword_3; } |
| |
| //entity=[entity::LEntity|LFQN] |
| public Assignment getEntityAssignment_4() { return cEntityAssignment_4; } |
| |
| //[entity::LEntity|LFQN] |
| public CrossReference getEntityLEntityCrossReference_4_0() { return cEntityLEntityCrossReference_4_0; } |
| |
| //LFQN |
| public RuleCall getEntityLEntityLFQNParserRuleCall_4_0_1() { return cEntityLEntityLFQNParserRuleCall_4_0_1; } |
| |
| //"property" |
| public Keyword getPropertyKeyword_5() { return cPropertyKeyword_5; } |
| |
| //property=[entity::LEntityAttribute] |
| public Assignment getPropertyAssignment_6() { return cPropertyAssignment_6; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getPropertyLEntityAttributeCrossReference_6_0() { return cPropertyLEntityAttributeCrossReference_6_0; } |
| |
| //ID |
| public RuleCall getPropertyLEntityAttributeIDTerminalRuleCall_6_0_1() { return cPropertyLEntityAttributeIDTerminalRuleCall_6_0_1; } |
| } |
| |
| public class DataInterchangePredefinedExpressionElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangePredefinedExpression"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangePredefinedExpressionAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cAssignKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cTargetPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cTargetPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cTargetPropertyAssignment_2.eContents().get(0); |
| private final RuleCall cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cTargetPropertyLEntityAttributeCrossReference_2_0.eContents().get(1); |
| private final Keyword cWithKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cBeanAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cBeanPredefinedBeanEnumEnumRuleCall_4_0 = (RuleCall)cBeanAssignment_4.eContents().get(0); |
| private final Keyword cAsKeyword_5 = (Keyword)cGroup.eContents().get(5); |
| private final Assignment cBeanTypeAssignment_6 = (Assignment)cGroup.eContents().get(6); |
| private final RuleCall cBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0 = (RuleCall)cBeanTypeAssignment_6.eContents().get(0); |
| |
| //DataInterchangePredefinedExpression: |
| // {DataInterchangePredefinedExpression} "assign" targetProperty=[entity::LEntityAttribute] "with" |
| // bean=PredefinedBeanEnum "as" beanType=PredefinedBeanTypeEnum; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangePredefinedExpression} "assign" targetProperty=[entity::LEntityAttribute] "with" bean=PredefinedBeanEnum |
| //"as" beanType=PredefinedBeanTypeEnum |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangePredefinedExpression} |
| public Action getDataInterchangePredefinedExpressionAction_0() { return cDataInterchangePredefinedExpressionAction_0; } |
| |
| //"assign" |
| public Keyword getAssignKeyword_1() { return cAssignKeyword_1; } |
| |
| //targetProperty=[entity::LEntityAttribute] |
| public Assignment getTargetPropertyAssignment_2() { return cTargetPropertyAssignment_2; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getTargetPropertyLEntityAttributeCrossReference_2_0() { return cTargetPropertyLEntityAttributeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cTargetPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; } |
| |
| //"with" |
| public Keyword getWithKeyword_3() { return cWithKeyword_3; } |
| |
| //bean=PredefinedBeanEnum |
| public Assignment getBeanAssignment_4() { return cBeanAssignment_4; } |
| |
| //PredefinedBeanEnum |
| public RuleCall getBeanPredefinedBeanEnumEnumRuleCall_4_0() { return cBeanPredefinedBeanEnumEnumRuleCall_4_0; } |
| |
| //"as" |
| public Keyword getAsKeyword_5() { return cAsKeyword_5; } |
| |
| //beanType=PredefinedBeanTypeEnum |
| public Assignment getBeanTypeAssignment_6() { return cBeanTypeAssignment_6; } |
| |
| //PredefinedBeanTypeEnum |
| public RuleCall getBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0() { return cBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0; } |
| } |
| |
| public class DataInterchangeMappingElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeMapping"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Action cDataInterchangeMappingAction_0 = (Action)cGroup.eContents().get(0); |
| private final Keyword cMapKeyword_1 = (Keyword)cGroup.eContents().get(1); |
| private final Assignment cPropertyAssignment_2 = (Assignment)cGroup.eContents().get(2); |
| private final CrossReference cPropertyLEntityAttributeCrossReference_2_0 = (CrossReference)cPropertyAssignment_2.eContents().get(0); |
| private final RuleCall cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1 = (RuleCall)cPropertyLEntityAttributeCrossReference_2_0.eContents().get(1); |
| private final Keyword cToKeyword_3 = (Keyword)cGroup.eContents().get(3); |
| private final Assignment cDataAssignment_4 = (Assignment)cGroup.eContents().get(4); |
| private final RuleCall cDataSTRINGTerminalRuleCall_4_0 = (RuleCall)cDataAssignment_4.eContents().get(0); |
| |
| //DataInterchangeMapping: |
| // {DataInterchangeMapping} "map" property=[entity::LEntityAttribute] "to" data=STRING; |
| public ParserRule getRule() { return rule; } |
| |
| //{DataInterchangeMapping} "map" property=[entity::LEntityAttribute] "to" data=STRING |
| public Group getGroup() { return cGroup; } |
| |
| //{DataInterchangeMapping} |
| public Action getDataInterchangeMappingAction_0() { return cDataInterchangeMappingAction_0; } |
| |
| //"map" |
| public Keyword getMapKeyword_1() { return cMapKeyword_1; } |
| |
| //property=[entity::LEntityAttribute] |
| public Assignment getPropertyAssignment_2() { return cPropertyAssignment_2; } |
| |
| //[entity::LEntityAttribute] |
| public CrossReference getPropertyLEntityAttributeCrossReference_2_0() { return cPropertyLEntityAttributeCrossReference_2_0; } |
| |
| //ID |
| public RuleCall getPropertyLEntityAttributeIDTerminalRuleCall_2_0_1() { return cPropertyLEntityAttributeIDTerminalRuleCall_2_0_1; } |
| |
| //"to" |
| public Keyword getToKeyword_3() { return cToKeyword_3; } |
| |
| //data=STRING |
| public Assignment getDataAssignment_4() { return cDataAssignment_4; } |
| |
| //STRING |
| public RuleCall getDataSTRINGTerminalRuleCall_4_0() { return cDataSTRINGTerminalRuleCall_4_0; } |
| } |
| |
| public class DataInterchangeImportElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeImport"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); |
| private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1); |
| private final RuleCall cImportedNamespaceDataInterchangeQualifiedNameWithWildCardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0); |
| |
| //DataInterchangeImport returns types::LImport: |
| // "import" importedNamespace=DataInterchangeQualifiedNameWithWildCard; |
| public ParserRule getRule() { return rule; } |
| |
| //"import" importedNamespace=DataInterchangeQualifiedNameWithWildCard |
| public Group getGroup() { return cGroup; } |
| |
| //"import" |
| public Keyword getImportKeyword_0() { return cImportKeyword_0; } |
| |
| //importedNamespace=DataInterchangeQualifiedNameWithWildCard |
| public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; } |
| |
| //DataInterchangeQualifiedNameWithWildCard |
| public RuleCall getImportedNamespaceDataInterchangeQualifiedNameWithWildCardParserRuleCall_1_0() { return cImportedNamespaceDataInterchangeQualifiedNameWithWildCardParserRuleCall_1_0; } |
| } |
| |
| public class DataInterchangeQualifiedNameWithWildCardElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataInterchangeQualifiedNameWithWildCard"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); |
| |
| //DataInterchangeQualifiedNameWithWildCard: |
| // QualifiedName ("." "*")?; |
| public ParserRule getRule() { return rule; } |
| |
| //QualifiedName ("." "*")? |
| public Group getGroup() { return cGroup; } |
| |
| //QualifiedName |
| public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; } |
| |
| //("." "*")? |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
| |
| //"*" |
| public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } |
| } |
| |
| public class QualifiedNameElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "QualifiedName"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final RuleCall cValidIDParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final RuleCall cValidIDParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); |
| |
| //QualifiedName: |
| // ValidID ("." ValidID)*; |
| public ParserRule getRule() { return rule; } |
| |
| //ValidID ("." ValidID)* |
| public Group getGroup() { return cGroup; } |
| |
| //ValidID |
| public RuleCall getValidIDParserRuleCall_0() { return cValidIDParserRuleCall_0; } |
| |
| //(=> "." ValidID)* |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //=> "." |
| public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
| |
| //ValidID |
| public RuleCall getValidIDParserRuleCall_1_1() { return cValidIDParserRuleCall_1_1; } |
| } |
| |
| public class ValidIDElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValidID"); |
| private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); |
| |
| //ValidID: |
| // ID; |
| public ParserRule getRule() { return rule; } |
| |
| //ID |
| public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } |
| } |
| |
| public class LFQNElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LFQN"); |
| private final Group cGroup = (Group)rule.eContents().get(1); |
| private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); |
| private final Group cGroup_1 = (Group)cGroup.eContents().get(1); |
| private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); |
| private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); |
| |
| //LFQN: |
| // ID ("." ID)*; |
| public ParserRule getRule() { return rule; } |
| |
| //ID ("." ID)* |
| public Group getGroup() { return cGroup; } |
| |
| //ID |
| public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } |
| |
| //("." ID)* |
| public Group getGroup_1() { return cGroup_1; } |
| |
| //"." |
| public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
| |
| //ID |
| public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } |
| } |
| |
| public class TRANSLATABLESTRINGElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLESTRING"); |
| private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); |
| |
| //TRANSLATABLESTRING: |
| // STRING; |
| public ParserRule getRule() { return rule; } |
| |
| //STRING |
| public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } |
| } |
| |
| public class TRANSLATABLEIDElements extends AbstractParserRuleElementFinder { |
| private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TRANSLATABLEID"); |
| private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); |
| |
| //TRANSLATABLEID: |
| // ID; |
| public ParserRule getRule() { return rule; } |
| |
| //ID |
| public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } |
| } |
| |
| |
| public class PredefinedBeanEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "PredefinedBeanEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cNowEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cNowNowDateKeyword_0_0 = (Keyword)cNowEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cStartEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cStartStartDateKeyword_1_0 = (Keyword)cStartEnumLiteralDeclaration_1.eContents().get(0); |
| private final EnumLiteralDeclaration cUUIDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); |
| private final Keyword cUUIDUniversallyUniqueIdentifierKeyword_2_0 = (Keyword)cUUIDEnumLiteralDeclaration_2.eContents().get(0); |
| |
| //enum PredefinedBeanEnum: |
| // now="NowDate" | start="StartDate" | UUID="UniversallyUniqueIdentifier"; |
| public EnumRule getRule() { return rule; } |
| |
| //now="NowDate" | start="StartDate" | UUID="UniversallyUniqueIdentifier" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //now="NowDate" |
| public EnumLiteralDeclaration getNowEnumLiteralDeclaration_0() { return cNowEnumLiteralDeclaration_0; } |
| |
| //"NowDate" |
| public Keyword getNowNowDateKeyword_0_0() { return cNowNowDateKeyword_0_0; } |
| |
| //start="StartDate" |
| public EnumLiteralDeclaration getStartEnumLiteralDeclaration_1() { return cStartEnumLiteralDeclaration_1; } |
| |
| //"StartDate" |
| public Keyword getStartStartDateKeyword_1_0() { return cStartStartDateKeyword_1_0; } |
| |
| //UUID="UniversallyUniqueIdentifier" |
| public EnumLiteralDeclaration getUUIDEnumLiteralDeclaration_2() { return cUUIDEnumLiteralDeclaration_2; } |
| |
| //"UniversallyUniqueIdentifier" |
| public Keyword getUUIDUniversallyUniqueIdentifierKeyword_2_0() { return cUUIDUniversallyUniqueIdentifierKeyword_2_0; } |
| } |
| |
| public class PredefinedBeanTypeEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "PredefinedBeanTypeEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cDateEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cDateDateKeyword_0_0 = (Keyword)cDateEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cMillisEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cMillisMillisecondsKeyword_1_0 = (Keyword)cMillisEnumLiteralDeclaration_1.eContents().get(0); |
| private final EnumLiteralDeclaration cNanosEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); |
| private final Keyword cNanosNanosecondsKeyword_2_0 = (Keyword)cNanosEnumLiteralDeclaration_2.eContents().get(0); |
| private final EnumLiteralDeclaration cRandomEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); |
| private final Keyword cRandomRandomKeyword_3_0 = (Keyword)cRandomEnumLiteralDeclaration_3.eContents().get(0); |
| private final EnumLiteralDeclaration cExecContextEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); |
| private final Keyword cExecContextExecuteContextKeyword_4_0 = (Keyword)cExecContextEnumLiteralDeclaration_4.eContents().get(0); |
| |
| //enum PredefinedBeanTypeEnum: |
| // Date | Millis="Milliseconds" | Nanos="Nanoseconds" | random="Random" | execContext="ExecuteContext"; |
| public EnumRule getRule() { return rule; } |
| |
| //Date | Millis="Milliseconds" | Nanos="Nanoseconds" | random="Random" | execContext="ExecuteContext" |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //Date |
| public EnumLiteralDeclaration getDateEnumLiteralDeclaration_0() { return cDateEnumLiteralDeclaration_0; } |
| |
| //"Date" |
| public Keyword getDateDateKeyword_0_0() { return cDateDateKeyword_0_0; } |
| |
| //Millis="Milliseconds" |
| public EnumLiteralDeclaration getMillisEnumLiteralDeclaration_1() { return cMillisEnumLiteralDeclaration_1; } |
| |
| //"Milliseconds" |
| public Keyword getMillisMillisecondsKeyword_1_0() { return cMillisMillisecondsKeyword_1_0; } |
| |
| //Nanos="Nanoseconds" |
| public EnumLiteralDeclaration getNanosEnumLiteralDeclaration_2() { return cNanosEnumLiteralDeclaration_2; } |
| |
| //"Nanoseconds" |
| public Keyword getNanosNanosecondsKeyword_2_0() { return cNanosNanosecondsKeyword_2_0; } |
| |
| //random="Random" |
| public EnumLiteralDeclaration getRandomEnumLiteralDeclaration_3() { return cRandomEnumLiteralDeclaration_3; } |
| |
| //"Random" |
| public Keyword getRandomRandomKeyword_3_0() { return cRandomRandomKeyword_3_0; } |
| |
| //execContext="ExecuteContext" |
| public EnumLiteralDeclaration getExecContextEnumLiteralDeclaration_4() { return cExecContextEnumLiteralDeclaration_4; } |
| |
| //"ExecuteContext" |
| public Keyword getExecContextExecuteContextKeyword_4_0() { return cExecContextExecuteContextKeyword_4_0; } |
| } |
| |
| public class ProgressBarStylesEnumElements extends AbstractEnumRuleElementFinder { |
| private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ProgressBarStylesEnum"); |
| private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
| private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); |
| private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); |
| private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); |
| private final Keyword cNormalNormalKeyword_1_0 = (Keyword)cNormalEnumLiteralDeclaration_1.eContents().get(0); |
| private final EnumLiteralDeclaration cImportantEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); |
| private final Keyword cImportantImportantKeyword_2_0 = (Keyword)cImportantEnumLiteralDeclaration_2.eContents().get(0); |
| |
| //enum ProgressBarStylesEnum: |
| // none | normal | important; |
| public EnumRule getRule() { return rule; } |
| |
| //none | normal | important |
| public Alternatives getAlternatives() { return cAlternatives; } |
| |
| //none |
| public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } |
| |
| //"none" |
| public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } |
| |
| //normal |
| public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_1() { return cNormalEnumLiteralDeclaration_1; } |
| |
| //"normal" |
| public Keyword getNormalNormalKeyword_1_0() { return cNormalNormalKeyword_1_0; } |
| |
| //important |
| public EnumLiteralDeclaration getImportantEnumLiteralDeclaration_2() { return cImportantEnumLiteralDeclaration_2; } |
| |
| //"important" |
| public Keyword getImportantImportantKeyword_2_0() { return cImportantImportantKeyword_2_0; } |
| } |
| |
| private final DataInterchangeModelElements pDataInterchangeModel; |
| private final DataInterchangePackageElements pDataInterchangePackage; |
| private final DataInterchangeElements pDataInterchange; |
| private final DataInterchangeFileElements pDataInterchangeFile; |
| private final DataInterchangeFileXMLElements pDataInterchangeFileXML; |
| private final DataInterchangeFileCSVElements pDataInterchangeFileCSV; |
| private final DataInterchangeFileEDIElements pDataInterchangeFileEDI; |
| private final DataInterchangeBeanElements pDataInterchangeBean; |
| private final DataInterchangeLookupElements pDataInterchangeLookup; |
| private final DataInterchangeMarkerPathElements pDataInterchangeMarkerPath; |
| private final DataInterchangeMarkerEntityElements pDataInterchangeMarkerEntity; |
| private final DataInterchangeFormatElements pDataInterchangeFormat; |
| private final DataInterchangeExpressionElements pDataInterchangeExpression; |
| private final DataInterchangeEntityExpressionElements pDataInterchangeEntityExpression; |
| private final DataInterchangePredefinedExpressionElements pDataInterchangePredefinedExpression; |
| private final DataInterchangeMappingElements pDataInterchangeMapping; |
| private final DataInterchangeImportElements pDataInterchangeImport; |
| private final DataInterchangeQualifiedNameWithWildCardElements pDataInterchangeQualifiedNameWithWildCard; |
| private final QualifiedNameElements pQualifiedName; |
| private final ValidIDElements pValidID; |
| private final LFQNElements pLFQN; |
| private final TRANSLATABLESTRINGElements pTRANSLATABLESTRING; |
| private final TRANSLATABLEIDElements pTRANSLATABLEID; |
| private final PredefinedBeanEnumElements unknownRulePredefinedBeanEnum; |
| private final PredefinedBeanTypeEnumElements unknownRulePredefinedBeanTypeEnum; |
| private final ProgressBarStylesEnumElements unknownRuleProgressBarStylesEnum; |
| |
| private final Grammar grammar; |
| |
| private final XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations; |
| |
| @Inject |
| public DataDSLGrammarAccess(GrammarProvider grammarProvider, |
| XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) { |
| this.grammar = internalFindGrammar(grammarProvider); |
| this.gaXbaseWithAnnotations = gaXbaseWithAnnotations; |
| this.pDataInterchangeModel = new DataInterchangeModelElements(); |
| this.pDataInterchangePackage = new DataInterchangePackageElements(); |
| this.pDataInterchange = new DataInterchangeElements(); |
| this.pDataInterchangeFile = new DataInterchangeFileElements(); |
| this.pDataInterchangeFileXML = new DataInterchangeFileXMLElements(); |
| this.pDataInterchangeFileCSV = new DataInterchangeFileCSVElements(); |
| this.pDataInterchangeFileEDI = new DataInterchangeFileEDIElements(); |
| this.pDataInterchangeBean = new DataInterchangeBeanElements(); |
| this.pDataInterchangeLookup = new DataInterchangeLookupElements(); |
| this.pDataInterchangeMarkerPath = new DataInterchangeMarkerPathElements(); |
| this.pDataInterchangeMarkerEntity = new DataInterchangeMarkerEntityElements(); |
| this.pDataInterchangeFormat = new DataInterchangeFormatElements(); |
| this.pDataInterchangeExpression = new DataInterchangeExpressionElements(); |
| this.pDataInterchangeEntityExpression = new DataInterchangeEntityExpressionElements(); |
| this.pDataInterchangePredefinedExpression = new DataInterchangePredefinedExpressionElements(); |
| this.pDataInterchangeMapping = new DataInterchangeMappingElements(); |
| this.pDataInterchangeImport = new DataInterchangeImportElements(); |
| this.pDataInterchangeQualifiedNameWithWildCard = new DataInterchangeQualifiedNameWithWildCardElements(); |
| this.pQualifiedName = new QualifiedNameElements(); |
| this.pValidID = new ValidIDElements(); |
| this.pLFQN = new LFQNElements(); |
| this.pTRANSLATABLESTRING = new TRANSLATABLESTRINGElements(); |
| this.pTRANSLATABLEID = new TRANSLATABLEIDElements(); |
| this.unknownRulePredefinedBeanEnum = new PredefinedBeanEnumElements(); |
| this.unknownRulePredefinedBeanTypeEnum = new PredefinedBeanTypeEnumElements(); |
| this.unknownRuleProgressBarStylesEnum = new ProgressBarStylesEnumElements(); |
| } |
| |
| protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { |
| Grammar grammar = grammarProvider.getGrammar(this); |
| while (grammar != null) { |
| if ("org.eclipse.osbp.xtext.datainterchange.DataDSL".equals(grammar.getName())) { |
| return grammar; |
| } |
| List<Grammar> grammars = grammar.getUsedGrammars(); |
| if (!grammars.isEmpty()) { |
| grammar = grammars.iterator().next(); |
| } else { |
| return null; |
| } |
| } |
| return grammar; |
| } |
| |
| |
| public Grammar getGrammar() { |
| return grammar; |
| } |
| |
| |
| public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() { |
| return gaXbaseWithAnnotations; |
| } |
| |
| |
| //DataInterchangeModel: |
| // packages+=DataInterchangePackage*; |
| public DataInterchangeModelElements getDataInterchangeModelAccess() { |
| return pDataInterchangeModel; |
| } |
| |
| public ParserRule getDataInterchangeModelRule() { |
| return getDataInterchangeModelAccess().getRule(); |
| } |
| |
| //DataInterchangePackage: |
| // {DataInterchangePackage} "package" name=QualifiedName "title" title=TRANSLATABLESTRING ("{" |
| // imports+=DataInterchangeImport* datInts+=DataInterchange* "}")?; |
| public DataInterchangePackageElements getDataInterchangePackageAccess() { |
| return pDataInterchangePackage; |
| } |
| |
| public ParserRule getDataInterchangePackageRule() { |
| return getDataInterchangePackageAccess().getRule(); |
| } |
| |
| //DataInterchange: |
| // {DataInterchange} "interchange" name=TRANSLATABLEID (description?="described by" descriptionValue=TRANSLATABLESTRING)? |
| // createReport?="create report"? ("averageElementSize" elementSize=INT)? ("progressBarStyle" |
| // progressBarStyle=ProgressBarStylesEnum)? (refreshEnabled?="refreshViewWhenFinished" refresh=STRING)? "file" |
| // fileEndpoint=DataInterchangeFile "beans" "{" path+=DataInterchangeBean* "}"; |
| public DataInterchangeElements getDataInterchangeAccess() { |
| return pDataInterchange; |
| } |
| |
| public ParserRule getDataInterchangeRule() { |
| return getDataInterchangeAccess().getRule(); |
| } |
| |
| //DataInterchangeFile: |
| // DataInterchangeFileXML | DataInterchangeFileCSV | DataInterchangeFileEDI; |
| public DataInterchangeFileElements getDataInterchangeFileAccess() { |
| return pDataInterchangeFile; |
| } |
| |
| public ParserRule getDataInterchangeFileRule() { |
| return getDataInterchangeFileAccess().getRule(); |
| } |
| |
| //DataInterchangeFileXML: |
| // {DataInterchangeFileXML} "XML" fileURL=STRING; |
| public DataInterchangeFileXMLElements getDataInterchangeFileXMLAccess() { |
| return pDataInterchangeFileXML; |
| } |
| |
| public ParserRule getDataInterchangeFileXMLRule() { |
| return getDataInterchangeFileXMLAccess().getRule(); |
| } |
| |
| //DataInterchangeFileCSV: |
| // {DataInterchangeFileCSV} "CSV" fileURL=STRING (("delimiter" delimiter=STRING)? & ("quoteCharacter" |
| // quoteCharacter=STRING)? & ("skipLines" skipLines=INT)? & indent?="indent"? & strict?="strict"? & |
| // validateHeader?="validateHeader"? & ("encoding" encoding=STRING)?); |
| public DataInterchangeFileCSVElements getDataInterchangeFileCSVAccess() { |
| return pDataInterchangeFileCSV; |
| } |
| |
| public ParserRule getDataInterchangeFileCSVRule() { |
| return getDataInterchangeFileCSVAccess().getRule(); |
| } |
| |
| //DataInterchangeFileEDI: |
| // {DataInterchangeFileEDI} "EDI" fileURL=STRING "mappingModel" mappingModel=STRING validate?="validate"?; |
| public DataInterchangeFileEDIElements getDataInterchangeFileEDIAccess() { |
| return pDataInterchangeFileEDI; |
| } |
| |
| public ParserRule getDataInterchangeFileEDIRule() { |
| return getDataInterchangeFileEDIAccess().getRule(); |
| } |
| |
| //DataInterchangeBean: |
| // {DataInterchangeBean} "entity" entity=[entity::LEntity|LFQN] ("createOn" elementMap=STRING)? (markLatest?="marker" |
| // latestProperty=[entity::LEntityAttribute])? (recordElement?="recordElement" | recordList?="recordList")? ("expression" |
| // "{" expression+=DataInterchangeExpression* "}")? ("lookup" "{" lookup+=DataInterchangeLookup* "}")? ("format" "{" |
| // format+=DataInterchangeFormat* "}")? ("mapping" "{" mappings+=DataInterchangeMapping* "}")?; |
| public DataInterchangeBeanElements getDataInterchangeBeanAccess() { |
| return pDataInterchangeBean; |
| } |
| |
| public ParserRule getDataInterchangeBeanRule() { |
| return getDataInterchangeBeanAccess().getRule(); |
| } |
| |
| //DataInterchangeLookup: |
| // {DataInterchangeLookup} "for" targetProperty=[entity::LEntityReference] "on" entity=[entity::LEntity] ("createOn" |
| // elementMap=STRING)? "with" queryProperty=[entity::LEntityAttribute] (cached?="cacheSize" cacheSize=INT)? ("mapTo" |
| // dataMap=STRING)? (allowNoResult?="allowNoResult"? & allowNonuniqueResult?="allowNonuniqueResult"? & |
| // markerPath=DataInterchangeMarkerPath?); |
| public DataInterchangeLookupElements getDataInterchangeLookupAccess() { |
| return pDataInterchangeLookup; |
| } |
| |
| public ParserRule getDataInterchangeLookupRule() { |
| return getDataInterchangeLookupAccess().getRule(); |
| } |
| |
| //DataInterchangeMarkerPath: |
| // {DataInterchangeMarkerPath} "markerPath" "{" path+=DataInterchangeMarkerEntity* "}"; |
| public DataInterchangeMarkerPathElements getDataInterchangeMarkerPathAccess() { |
| return pDataInterchangeMarkerPath; |
| } |
| |
| public ParserRule getDataInterchangeMarkerPathRule() { |
| return getDataInterchangeMarkerPathAccess().getRule(); |
| } |
| |
| //DataInterchangeMarkerEntity: |
| // {DataInterchangeMarkerEntity} "markerEntity" markerEntity=[entity::LEntity|LFQN] (markLatest?="markedBy" |
| // markerProperty=[entity::LEntityAttribute])?; |
| public DataInterchangeMarkerEntityElements getDataInterchangeMarkerEntityAccess() { |
| return pDataInterchangeMarkerEntity; |
| } |
| |
| public ParserRule getDataInterchangeMarkerEntityRule() { |
| return getDataInterchangeMarkerEntityAccess().getRule(); |
| } |
| |
| //DataInterchangeFormat: |
| // {DataInterchangeFormat} "for" targetProperty=[entity::LEntityAttribute] "coding" format=STRING ("locale" |
| // locale=STRING)?; |
| public DataInterchangeFormatElements getDataInterchangeFormatAccess() { |
| return pDataInterchangeFormat; |
| } |
| |
| public ParserRule getDataInterchangeFormatRule() { |
| return getDataInterchangeFormatAccess().getRule(); |
| } |
| |
| //DataInterchangeExpression: |
| // DataInterchangeEntityExpression | DataInterchangePredefinedExpression; |
| public DataInterchangeExpressionElements getDataInterchangeExpressionAccess() { |
| return pDataInterchangeExpression; |
| } |
| |
| public ParserRule getDataInterchangeExpressionRule() { |
| return getDataInterchangeExpressionAccess().getRule(); |
| } |
| |
| //DataInterchangeEntityExpression: |
| // {DataInterchangeEntityExpression} "copy" targetProperty=[entity::LEntityAttribute] "from" |
| // entity=[entity::LEntity|LFQN] "property" property=[entity::LEntityAttribute]; |
| public DataInterchangeEntityExpressionElements getDataInterchangeEntityExpressionAccess() { |
| return pDataInterchangeEntityExpression; |
| } |
| |
| public ParserRule getDataInterchangeEntityExpressionRule() { |
| return getDataInterchangeEntityExpressionAccess().getRule(); |
| } |
| |
| //DataInterchangePredefinedExpression: |
| // {DataInterchangePredefinedExpression} "assign" targetProperty=[entity::LEntityAttribute] "with" |
| // bean=PredefinedBeanEnum "as" beanType=PredefinedBeanTypeEnum; |
| public DataInterchangePredefinedExpressionElements getDataInterchangePredefinedExpressionAccess() { |
| return pDataInterchangePredefinedExpression; |
| } |
| |
| public ParserRule getDataInterchangePredefinedExpressionRule() { |
| return getDataInterchangePredefinedExpressionAccess().getRule(); |
| } |
| |
| //DataInterchangeMapping: |
| // {DataInterchangeMapping} "map" property=[entity::LEntityAttribute] "to" data=STRING; |
| public DataInterchangeMappingElements getDataInterchangeMappingAccess() { |
| return pDataInterchangeMapping; |
| } |
| |
| public ParserRule getDataInterchangeMappingRule() { |
| return getDataInterchangeMappingAccess().getRule(); |
| } |
| |
| //DataInterchangeImport returns types::LImport: |
| // "import" importedNamespace=DataInterchangeQualifiedNameWithWildCard; |
| public DataInterchangeImportElements getDataInterchangeImportAccess() { |
| return pDataInterchangeImport; |
| } |
| |
| public ParserRule getDataInterchangeImportRule() { |
| return getDataInterchangeImportAccess().getRule(); |
| } |
| |
| //DataInterchangeQualifiedNameWithWildCard: |
| // QualifiedName ("." "*")?; |
| public DataInterchangeQualifiedNameWithWildCardElements getDataInterchangeQualifiedNameWithWildCardAccess() { |
| return pDataInterchangeQualifiedNameWithWildCard; |
| } |
| |
| public ParserRule getDataInterchangeQualifiedNameWithWildCardRule() { |
| return getDataInterchangeQualifiedNameWithWildCardAccess().getRule(); |
| } |
| |
| //QualifiedName: |
| // ValidID ("." ValidID)*; |
| public QualifiedNameElements getQualifiedNameAccess() { |
| return pQualifiedName; |
| } |
| |
| public ParserRule getQualifiedNameRule() { |
| return getQualifiedNameAccess().getRule(); |
| } |
| |
| //ValidID: |
| // ID; |
| public ValidIDElements getValidIDAccess() { |
| return pValidID; |
| } |
| |
| public ParserRule getValidIDRule() { |
| return getValidIDAccess().getRule(); |
| } |
| |
| //LFQN: |
| // ID ("." ID)*; |
| public LFQNElements getLFQNAccess() { |
| return pLFQN; |
| } |
| |
| public ParserRule getLFQNRule() { |
| return getLFQNAccess().getRule(); |
| } |
| |
| //TRANSLATABLESTRING: |
| // STRING; |
| public TRANSLATABLESTRINGElements getTRANSLATABLESTRINGAccess() { |
| return pTRANSLATABLESTRING; |
| } |
| |
| public ParserRule getTRANSLATABLESTRINGRule() { |
| return getTRANSLATABLESTRINGAccess().getRule(); |
| } |
| |
| //TRANSLATABLEID: |
| // ID; |
| public TRANSLATABLEIDElements getTRANSLATABLEIDAccess() { |
| return pTRANSLATABLEID; |
| } |
| |
| public ParserRule getTRANSLATABLEIDRule() { |
| return getTRANSLATABLEIDAccess().getRule(); |
| } |
| |
| //enum PredefinedBeanEnum: |
| // now="NowDate" | start="StartDate" | UUID="UniversallyUniqueIdentifier"; |
| public PredefinedBeanEnumElements getPredefinedBeanEnumAccess() { |
| return unknownRulePredefinedBeanEnum; |
| } |
| |
| public EnumRule getPredefinedBeanEnumRule() { |
| return getPredefinedBeanEnumAccess().getRule(); |
| } |
| |
| //enum PredefinedBeanTypeEnum: |
| // Date | Millis="Milliseconds" | Nanos="Nanoseconds" | random="Random" | execContext="ExecuteContext"; |
| public PredefinedBeanTypeEnumElements getPredefinedBeanTypeEnumAccess() { |
| return unknownRulePredefinedBeanTypeEnum; |
| } |
| |
| public EnumRule getPredefinedBeanTypeEnumRule() { |
| return getPredefinedBeanTypeEnumAccess().getRule(); |
| } |
| |
| //enum ProgressBarStylesEnum: |
| // none | normal | important; |
| public ProgressBarStylesEnumElements getProgressBarStylesEnumAccess() { |
| return unknownRuleProgressBarStylesEnum; |
| } |
| |
| public EnumRule getProgressBarStylesEnumRule() { |
| return getProgressBarStylesEnumAccess().getRule(); |
| } |
| |
| //XAnnotation: |
| // {XAnnotation} "@" annotationType=[types::JvmAnnotationType|QualifiedName] ("(" |
| // (elementValuePairs+=XAnnotationElementValuePair ("," elementValuePairs+=XAnnotationElementValuePair)* | |
| // value=XAnnotationElementValueOrCommaList)? ")")?; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationAccess(); |
| } |
| |
| public ParserRule getXAnnotationRule() { |
| return getXAnnotationAccess().getRule(); |
| } |
| |
| //XAnnotationElementValuePair: |
| // => (element=[types::JvmOperation|ValidID] "=") value=XAnnotationElementValue; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess(); |
| } |
| |
| public ParserRule getXAnnotationElementValuePairRule() { |
| return getXAnnotationElementValuePairAccess().getRule(); |
| } |
| |
| //XAnnotationElementValueOrCommaList returns xbase::XExpression: |
| // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" | |
| // XAnnotationOrExpression ({xbase::XListLiteral.elements+=current} ("," elements+=XAnnotationOrExpression)+)?; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess(); |
| } |
| |
| public ParserRule getXAnnotationElementValueOrCommaListRule() { |
| return getXAnnotationElementValueOrCommaListAccess().getRule(); |
| } |
| |
| //XAnnotationElementValue returns xbase::XExpression: |
| // => ({xbase::XListLiteral} "#" "[") (elements+=XAnnotationOrExpression ("," elements+=XAnnotationOrExpression)*)? "]" | |
| // XAnnotationOrExpression; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationElementValueAccess(); |
| } |
| |
| public ParserRule getXAnnotationElementValueRule() { |
| return getXAnnotationElementValueAccess().getRule(); |
| } |
| |
| //XAnnotationOrExpression returns xbase::XExpression: |
| // XAnnotation | XExpression; |
| public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() { |
| return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess(); |
| } |
| |
| public ParserRule getXAnnotationOrExpressionRule() { |
| return getXAnnotationOrExpressionAccess().getRule(); |
| } |
| |
| //XExpression: |
| // XAssignment; |
| public XbaseGrammarAccess.XExpressionElements getXExpressionAccess() { |
| return gaXbaseWithAnnotations.getXExpressionAccess(); |
| } |
| |
| public ParserRule getXExpressionRule() { |
| return getXExpressionAccess().getRule(); |
| } |
| |
| //XAssignment returns XExpression: |
| // {XAssignment} feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign value=XAssignment | XOrExpression |
| // (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMultiAssign]) |
| // rightOperand=XAssignment)?; |
| public XbaseGrammarAccess.XAssignmentElements getXAssignmentAccess() { |
| return gaXbaseWithAnnotations.getXAssignmentAccess(); |
| } |
| |
| public ParserRule getXAssignmentRule() { |
| return getXAssignmentAccess().getRule(); |
| } |
| |
| //OpSingleAssign: |
| // "="; |
| public XbaseGrammarAccess.OpSingleAssignElements getOpSingleAssignAccess() { |
| return gaXbaseWithAnnotations.getOpSingleAssignAccess(); |
| } |
| |
| public ParserRule getOpSingleAssignRule() { |
| return getOpSingleAssignAccess().getRule(); |
| } |
| |
| //OpMultiAssign: |
| // "+=" | "-=" | "*=" | "/=" | "%=" | "<" "<" "=" | ">" ">"? ">="; |
| public XbaseGrammarAccess.OpMultiAssignElements getOpMultiAssignAccess() { |
| return gaXbaseWithAnnotations.getOpMultiAssignAccess(); |
| } |
| |
| public ParserRule getOpMultiAssignRule() { |
| return getOpMultiAssignAccess().getRule(); |
| } |
| |
| //XOrExpression returns XExpression: |
| // XAndExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOr]) |
| // rightOperand=XAndExpression)*; |
| public XbaseGrammarAccess.XOrExpressionElements getXOrExpressionAccess() { |
| return gaXbaseWithAnnotations.getXOrExpressionAccess(); |
| } |
| |
| public ParserRule getXOrExpressionRule() { |
| return getXOrExpressionAccess().getRule(); |
| } |
| |
| //OpOr: |
| // "||"; |
| public XbaseGrammarAccess.OpOrElements getOpOrAccess() { |
| return gaXbaseWithAnnotations.getOpOrAccess(); |
| } |
| |
| public ParserRule getOpOrRule() { |
| return getOpOrAccess().getRule(); |
| } |
| |
| //XAndExpression returns XExpression: |
| // XEqualityExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAnd]) |
| // rightOperand=XEqualityExpression)*; |
| public XbaseGrammarAccess.XAndExpressionElements getXAndExpressionAccess() { |
| return gaXbaseWithAnnotations.getXAndExpressionAccess(); |
| } |
| |
| public ParserRule getXAndExpressionRule() { |
| return getXAndExpressionAccess().getRule(); |
| } |
| |
| //OpAnd: |
| // "&&"; |
| public XbaseGrammarAccess.OpAndElements getOpAndAccess() { |
| return gaXbaseWithAnnotations.getOpAndAccess(); |
| } |
| |
| public ParserRule getOpAndRule() { |
| return getOpAndAccess().getRule(); |
| } |
| |
| //XEqualityExpression returns XExpression: |
| // XRelationalExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpEquality]) |
| // rightOperand=XRelationalExpression)*; |
| public XbaseGrammarAccess.XEqualityExpressionElements getXEqualityExpressionAccess() { |
| return gaXbaseWithAnnotations.getXEqualityExpressionAccess(); |
| } |
| |
| public ParserRule getXEqualityExpressionRule() { |
| return getXEqualityExpressionAccess().getRule(); |
| } |
| |
| //OpEquality: |
| // "==" | "!=" | "===" | "!=="; |
| public XbaseGrammarAccess.OpEqualityElements getOpEqualityAccess() { |
| return gaXbaseWithAnnotations.getOpEqualityAccess(); |
| } |
| |
| public ParserRule getOpEqualityRule() { |
| return getOpEqualityAccess().getRule(); |
| } |
| |
| //XRelationalExpression returns XExpression: |
| // XOtherOperatorExpression (=> ({XInstanceOfExpression.expression=current} "instanceof") type=JvmTypeReference | => |
| // ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpCompare]) |
| // rightOperand=XOtherOperatorExpression)*; |
| public XbaseGrammarAccess.XRelationalExpressionElements getXRelationalExpressionAccess() { |
| return gaXbaseWithAnnotations.getXRelationalExpressionAccess(); |
| } |
| |
| public ParserRule getXRelationalExpressionRule() { |
| return getXRelationalExpressionAccess().getRule(); |
| } |
| |
| //OpCompare: |
| // ">=" | "<" "=" | ">" | "<"; |
| public XbaseGrammarAccess.OpCompareElements getOpCompareAccess() { |
| return gaXbaseWithAnnotations.getOpCompareAccess(); |
| } |
| |
| public ParserRule getOpCompareRule() { |
| return getOpCompareAccess().getRule(); |
| } |
| |
| //XOtherOperatorExpression returns XExpression: |
| // XAdditiveExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpOther]) |
| // rightOperand=XAdditiveExpression)*; |
| public XbaseGrammarAccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() { |
| return gaXbaseWithAnnotations.getXOtherOperatorExpressionAccess(); |
| } |
| |
| public ParserRule getXOtherOperatorExpressionRule() { |
| return getXOtherOperatorExpressionAccess().getRule(); |
| } |
| |
| //OpOther: |
| // "->" | "..<" | ">" ".." | ".." | "=>" | ">" (=> (">" ">") | ">") | "<" (=> ("<" "<") | "<" | "=>") | "<>" | "?:"; |
| public XbaseGrammarAccess.OpOtherElements getOpOtherAccess() { |
| return gaXbaseWithAnnotations.getOpOtherAccess(); |
| } |
| |
| public ParserRule getOpOtherRule() { |
| return getOpOtherAccess().getRule(); |
| } |
| |
| //XAdditiveExpression returns XExpression: |
| // XMultiplicativeExpression (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpAdd]) |
| // rightOperand=XMultiplicativeExpression)*; |
| public XbaseGrammarAccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() { |
| return gaXbaseWithAnnotations.getXAdditiveExpressionAccess(); |
| } |
| |
| public ParserRule getXAdditiveExpressionRule() { |
| return getXAdditiveExpressionAccess().getRule(); |
| } |
| |
| //OpAdd: |
| // "+" | "-"; |
| public XbaseGrammarAccess.OpAddElements getOpAddAccess() { |
| return gaXbaseWithAnnotations.getOpAddAccess(); |
| } |
| |
| public ParserRule getOpAddRule() { |
| return getOpAddAccess().getRule(); |
| } |
| |
| //XMultiplicativeExpression returns XExpression: |
| // XUnaryOperation (=> ({XBinaryOperation.leftOperand=current} feature=[types::JvmIdentifiableElement|OpMulti]) |
| // rightOperand=XUnaryOperation)*; |
| public XbaseGrammarAccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() { |
| return gaXbaseWithAnnotations.getXMultiplicativeExpressionAccess(); |
| } |
| |
| public ParserRule getXMultiplicativeExpressionRule() { |
| return getXMultiplicativeExpressionAccess().getRule(); |
| } |
| |
| //OpMulti: |
| // "*" | "**" | "/" | "%"; |
| public XbaseGrammarAccess.OpMultiElements getOpMultiAccess() { |
| return gaXbaseWithAnnotations.getOpMultiAccess(); |
| } |
| |
| public ParserRule getOpMultiRule() { |
| return getOpMultiAccess().getRule(); |
| } |
| |
| //XUnaryOperation returns XExpression: |
| // {XUnaryOperation} feature=[types::JvmIdentifiableElement|OpUnary] operand=XUnaryOperation | XCastedExpression; |
| public XbaseGrammarAccess.XUnaryOperationElements getXUnaryOperationAccess() { |
| return gaXbaseWithAnnotations.getXUnaryOperationAccess(); |
| } |
| |
| public ParserRule getXUnaryOperationRule() { |
| return getXUnaryOperationAccess().getRule(); |
| } |
| |
| //OpUnary: |
| // "!" | "-" | "+"; |
| public XbaseGrammarAccess.OpUnaryElements getOpUnaryAccess() { |
| return gaXbaseWithAnnotations.getOpUnaryAccess(); |
| } |
| |
| public ParserRule getOpUnaryRule() { |
| return getOpUnaryAccess().getRule(); |
| } |
| |
| //XCastedExpression returns XExpression: |
| // XPostfixOperation (=> ({XCastedExpression.target=current} "as") type=JvmTypeReference)*; |
| public XbaseGrammarAccess.XCastedExpressionElements getXCastedExpressionAccess() { |
| return gaXbaseWithAnnotations.getXCastedExpressionAccess(); |
| } |
| |
| public ParserRule getXCastedExpressionRule() { |
| return getXCastedExpressionAccess().getRule(); |
| } |
| |
| //XPostfixOperation returns XExpression: |
| // XMemberFeatureCall => ({XPostfixOperation.operand=current} feature=[types::JvmIdentifiableElement|OpPostfix])?; |
| public XbaseGrammarAccess.XPostfixOperationElements getXPostfixOperationAccess() { |
| return gaXbaseWithAnnotations.getXPostfixOperationAccess(); |
| } |
| |
| public ParserRule getXPostfixOperationRule() { |
| return getXPostfixOperationAccess().getRule(); |
| } |
| |
| //OpPostfix: |
| // "++" | "--"; |
| public XbaseGrammarAccess.OpPostfixElements getOpPostfixAccess() { |
| return gaXbaseWithAnnotations.getOpPostfixAccess(); |
| } |
| |
| public ParserRule getOpPostfixRule() { |
| return getOpPostfixAccess().getRule(); |
| } |
| |
| //XMemberFeatureCall returns XExpression: |
| // XPrimaryExpression (=> ({XAssignment.assignable=current} ("." | explicitStatic?="::") |
| // feature=[types::JvmIdentifiableElement|FeatureCallID] OpSingleAssign) value=XAssignment | => |
| // ({XMemberFeatureCall.memberCallTarget=current} ("." | nullSafe?="?." | explicitStatic?="::")) ("<" |
| // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? |
| // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (memberCallArguments+=XShortClosure | |
| // memberCallArguments+=XExpression ("," memberCallArguments+=XExpression)*)? ")")? memberCallArguments+=XClosure?)*; |
| public XbaseGrammarAccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() { |
| return gaXbaseWithAnnotations.getXMemberFeatureCallAccess(); |
| } |
| |
| public ParserRule getXMemberFeatureCallRule() { |
| return getXMemberFeatureCallAccess().getRule(); |
| } |
| |
| //XPrimaryExpression returns XExpression: |
| // XConstructorCall | XBlockExpression | XSwitchExpression | XSynchronizedExpression | XFeatureCall | XLiteral | |
| // XIfExpression | XForLoopExpression | XBasicForLoopExpression | XWhileExpression | XDoWhileExpression | |
| // XThrowExpression | XReturnExpression | XTryCatchFinallyExpression | XParenthesizedExpression; |
| public XbaseGrammarAccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() { |
| return gaXbaseWithAnnotations.getXPrimaryExpressionAccess(); |
| } |
| |
| public ParserRule getXPrimaryExpressionRule() { |
| return getXPrimaryExpressionAccess().getRule(); |
| } |
| |
| //XLiteral returns XExpression: |
| // XCollectionLiteral | XClosure | XBooleanLiteral | XNumberLiteral | XNullLiteral | XStringLiteral | XTypeLiteral; |
| public XbaseGrammarAccess.XLiteralElements getXLiteralAccess() { |
| return gaXbaseWithAnnotations.getXLiteralAccess(); |
| } |
| |
| public ParserRule getXLiteralRule() { |
| return getXLiteralAccess().getRule(); |
| } |
| |
| //XCollectionLiteral: |
| // XSetLiteral | XListLiteral; |
| public XbaseGrammarAccess.XCollectionLiteralElements getXCollectionLiteralAccess() { |
| return gaXbaseWithAnnotations.getXCollectionLiteralAccess(); |
| } |
| |
| public ParserRule getXCollectionLiteralRule() { |
| return getXCollectionLiteralAccess().getRule(); |
| } |
| |
| //XSetLiteral: |
| // {XSetLiteral} "#" "{" (elements+=XExpression ("," elements+=XExpression)*)? "}"; |
| public XbaseGrammarAccess.XSetLiteralElements getXSetLiteralAccess() { |
| return gaXbaseWithAnnotations.getXSetLiteralAccess(); |
| } |
| |
| public ParserRule getXSetLiteralRule() { |
| return getXSetLiteralAccess().getRule(); |
| } |
| |
| //XListLiteral: |
| // {XListLiteral} "#" "[" (elements+=XExpression ("," elements+=XExpression)*)? "]"; |
| public XbaseGrammarAccess.XListLiteralElements getXListLiteralAccess() { |
| return gaXbaseWithAnnotations.getXListLiteralAccess(); |
| } |
| |
| public ParserRule getXListLiteralRule() { |
| return getXListLiteralAccess().getRule(); |
| } |
| |
| //XClosure returns XExpression: |
| // => ({XClosure} "[") => ((declaredFormalParameters+=JvmFormalParameter ("," |
| // declaredFormalParameters+=JvmFormalParameter)*)? explicitSyntax?="|")? expression=XExpressionInClosure "]"; |
| public XbaseGrammarAccess.XClosureElements getXClosureAccess() { |
| return gaXbaseWithAnnotations.getXClosureAccess(); |
| } |
| |
| public ParserRule getXClosureRule() { |
| return getXClosureAccess().getRule(); |
| } |
| |
| //XExpressionInClosure returns XExpression: |
| // {XBlockExpression} (expressions+=XExpressionOrVarDeclaration ";"?)*; |
| public XbaseGrammarAccess.XExpressionInClosureElements getXExpressionInClosureAccess() { |
| return gaXbaseWithAnnotations.getXExpressionInClosureAccess(); |
| } |
| |
| public ParserRule getXExpressionInClosureRule() { |
| return getXExpressionInClosureAccess().getRule(); |
| } |
| |
| //XShortClosure returns XExpression: |
| // => ({XClosure} (declaredFormalParameters+=JvmFormalParameter ("," declaredFormalParameters+=JvmFormalParameter)*)? |
| // explicitSyntax?="|") expression=XExpression; |
| public XbaseGrammarAccess.XShortClosureElements getXShortClosureAccess() { |
| return gaXbaseWithAnnotations.getXShortClosureAccess(); |
| } |
| |
| public ParserRule getXShortClosureRule() { |
| return getXShortClosureAccess().getRule(); |
| } |
| |
| //XParenthesizedExpression returns XExpression: |
| // "(" XExpression ")"; |
| public XbaseGrammarAccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() { |
| return gaXbaseWithAnnotations.getXParenthesizedExpressionAccess(); |
| } |
| |
| public ParserRule getXParenthesizedExpressionRule() { |
| return getXParenthesizedExpressionAccess().getRule(); |
| } |
| |
| //XIfExpression returns XExpression: |
| // {XIfExpression} "if" "(" if=XExpression ")" then=XExpression ("else" else=XExpression)?; |
| public XbaseGrammarAccess.XIfExpressionElements getXIfExpressionAccess() { |
| return gaXbaseWithAnnotations.getXIfExpressionAccess(); |
| } |
| |
| public ParserRule getXIfExpressionRule() { |
| return getXIfExpressionAccess().getRule(); |
| } |
| |
| //XSwitchExpression returns XExpression: |
| // {XSwitchExpression} "switch" (=> ("(" declaredParam=JvmFormalParameter ":") switch=XExpression ")" | => |
| // (declaredParam=JvmFormalParameter ":")? switch=XExpression) "{" cases+=XCasePart* ("default" ":" default=XExpression)? |
| // "}"; |
| public XbaseGrammarAccess.XSwitchExpressionElements getXSwitchExpressionAccess() { |
| return gaXbaseWithAnnotations.getXSwitchExpressionAccess(); |
| } |
| |
| public ParserRule getXSwitchExpressionRule() { |
| return getXSwitchExpressionAccess().getRule(); |
| } |
| |
| //XCasePart: |
| // {XCasePart} typeGuard=JvmTypeReference? ("case" case=XExpression)? (":" then=XExpression | fallThrough?=","); |
| public XbaseGrammarAccess.XCasePartElements getXCasePartAccess() { |
| return gaXbaseWithAnnotations.getXCasePartAccess(); |
| } |
| |
| public ParserRule getXCasePartRule() { |
| return getXCasePartAccess().getRule(); |
| } |
| |
| //XForLoopExpression returns XExpression: |
| // => ({XForLoopExpression} "for" "(" declaredParam=JvmFormalParameter ":") forExpression=XExpression ")" |
| // eachExpression=XExpression; |
| public XbaseGrammarAccess.XForLoopExpressionElements getXForLoopExpressionAccess() { |
| return gaXbaseWithAnnotations.getXForLoopExpressionAccess(); |
| } |
| |
| public ParserRule getXForLoopExpressionRule() { |
| return getXForLoopExpressionAccess().getRule(); |
| } |
| |
| //XBasicForLoopExpression returns XExpression: |
| // {XBasicForLoopExpression} "for" "(" (initExpressions+=XExpressionOrVarDeclaration ("," |
| // initExpressions+=XExpressionOrVarDeclaration)*)? ";" expression=XExpression? ";" (updateExpressions+=XExpression ("," |
| // updateExpressions+=XExpression)*)? ")" eachExpression=XExpression; |
| public XbaseGrammarAccess.XBasicForLoopExpressionElements getXBasicForLoopExpressionAccess() { |
| return gaXbaseWithAnnotations.getXBasicForLoopExpressionAccess(); |
| } |
| |
| public ParserRule getXBasicForLoopExpressionRule() { |
| return getXBasicForLoopExpressionAccess().getRule(); |
| } |
| |
| //XWhileExpression returns XExpression: |
| // {XWhileExpression} "while" "(" predicate=XExpression ")" body=XExpression; |
| public XbaseGrammarAccess.XWhileExpressionElements getXWhileExpressionAccess() { |
| return gaXbaseWithAnnotations.getXWhileExpressionAccess(); |
| } |
| |
| public ParserRule getXWhileExpressionRule() { |
| return getXWhileExpressionAccess().getRule(); |
| } |
| |
| //XDoWhileExpression returns XExpression: |
| // {XDoWhileExpression} "do" body=XExpression "while" "(" predicate=XExpression ")"; |
| public XbaseGrammarAccess.XDoWhileExpressionElements getXDoWhileExpressionAccess() { |
| return gaXbaseWithAnnotations.getXDoWhileExpressionAccess(); |
| } |
| |
| public ParserRule getXDoWhileExpressionRule() { |
| return getXDoWhileExpressionAccess().getRule(); |
| } |
| |
| //XBlockExpression returns XExpression: |
| // {XBlockExpression} "{" (expressions+=XExpressionOrVarDeclaration ";"?)* "}"; |
| public XbaseGrammarAccess.XBlockExpressionElements getXBlockExpressionAccess() { |
| return gaXbaseWithAnnotations.getXBlockExpressionAccess(); |
| } |
| |
| public ParserRule getXBlockExpressionRule() { |
| return getXBlockExpressionAccess().getRule(); |
| } |
| |
| //XExpressionOrVarDeclaration returns XExpression: |
| // XVariableDeclaration | XExpression; |
| public XbaseGrammarAccess.XExpressionOrVarDeclarationElements getXExpressionOrVarDeclarationAccess() { |
| return gaXbaseWithAnnotations.getXExpressionOrVarDeclarationAccess(); |
| } |
| |
| public ParserRule getXExpressionOrVarDeclarationRule() { |
| return getXExpressionOrVarDeclarationAccess().getRule(); |
| } |
| |
| //XVariableDeclaration returns XExpression: |
| // {XVariableDeclaration} (writeable?="var" | "val") (=> (type=JvmTypeReference name=ValidID) | name=ValidID) ("=" |
| // right=XExpression)?; |
| public XbaseGrammarAccess.XVariableDeclarationElements getXVariableDeclarationAccess() { |
| return gaXbaseWithAnnotations.getXVariableDeclarationAccess(); |
| } |
| |
| public ParserRule getXVariableDeclarationRule() { |
| return getXVariableDeclarationAccess().getRule(); |
| } |
| |
| //JvmFormalParameter returns types::JvmFormalParameter: |
| // parameterType=JvmTypeReference? name=ValidID; |
| public XbaseGrammarAccess.JvmFormalParameterElements getJvmFormalParameterAccess() { |
| return gaXbaseWithAnnotations.getJvmFormalParameterAccess(); |
| } |
| |
| public ParserRule getJvmFormalParameterRule() { |
| return getJvmFormalParameterAccess().getRule(); |
| } |
| |
| //FullJvmFormalParameter returns types::JvmFormalParameter: |
| // parameterType=JvmTypeReference name=ValidID; |
| public XbaseGrammarAccess.FullJvmFormalParameterElements getFullJvmFormalParameterAccess() { |
| return gaXbaseWithAnnotations.getFullJvmFormalParameterAccess(); |
| } |
| |
| public ParserRule getFullJvmFormalParameterRule() { |
| return getFullJvmFormalParameterAccess().getRule(); |
| } |
| |
| //XFeatureCall returns XExpression: |
| // {XFeatureCall} ("<" typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? |
| // feature=[types::JvmIdentifiableElement|IdOrSuper] (=> explicitOperationCall?="(" (featureCallArguments+=XShortClosure |
| // | featureCallArguments+=XExpression ("," featureCallArguments+=XExpression)*)? ")")? featureCallArguments+=XClosure?; |
| public XbaseGrammarAccess.XFeatureCallElements getXFeatureCallAccess() { |
| return gaXbaseWithAnnotations.getXFeatureCallAccess(); |
| } |
| |
| public ParserRule getXFeatureCallRule() { |
| return getXFeatureCallAccess().getRule(); |
| } |
| |
| //FeatureCallID: |
| // ValidID | "extends" | "static" | "import" | "extension"; |
| public XbaseGrammarAccess.FeatureCallIDElements getFeatureCallIDAccess() { |
| return gaXbaseWithAnnotations.getFeatureCallIDAccess(); |
| } |
| |
| public ParserRule getFeatureCallIDRule() { |
| return getFeatureCallIDAccess().getRule(); |
| } |
| |
| //IdOrSuper: |
| // FeatureCallID | "super"; |
| public XbaseGrammarAccess.IdOrSuperElements getIdOrSuperAccess() { |
| return gaXbaseWithAnnotations.getIdOrSuperAccess(); |
| } |
| |
| public ParserRule getIdOrSuperRule() { |
| return getIdOrSuperAccess().getRule(); |
| } |
| |
| //XConstructorCall returns XExpression: |
| // {XConstructorCall} "new" constructor=[types::JvmConstructor|QualifiedName] ("<" |
| // typeArguments+=JvmArgumentTypeReference ("," typeArguments+=JvmArgumentTypeReference)* ">")? (=> |
| // explicitConstructorCall?="(" (arguments+=XShortClosure | arguments+=XExpression ("," arguments+=XExpression)*)? ")")? |
| // arguments+=XClosure?; |
| public XbaseGrammarAccess.XConstructorCallElements getXConstructorCallAccess() { |
| return gaXbaseWithAnnotations.getXConstructorCallAccess(); |
| } |
| |
| public ParserRule getXConstructorCallRule() { |
| return getXConstructorCallAccess().getRule(); |
| } |
| |
| //XBooleanLiteral returns XExpression: |
| // {XBooleanLiteral} ("false" | isTrue?="true"); |
| public XbaseGrammarAccess.XBooleanLiteralElements getXBooleanLiteralAccess() { |
| return gaXbaseWithAnnotations.getXBooleanLiteralAccess(); |
| } |
| |
| public ParserRule getXBooleanLiteralRule() { |
| return getXBooleanLiteralAccess().getRule(); |
| } |
| |
| //XNullLiteral returns XExpression: |
| // {XNullLiteral} "null"; |
| public XbaseGrammarAccess.XNullLiteralElements getXNullLiteralAccess() { |
| return gaXbaseWithAnnotations.getXNullLiteralAccess(); |
| } |
| |
| public ParserRule getXNullLiteralRule() { |
| return getXNullLiteralAccess().getRule(); |
| } |
| |
| //XNumberLiteral returns XExpression: |
| // {XNumberLiteral} value=Number; |
| public XbaseGrammarAccess.XNumberLiteralElements getXNumberLiteralAccess() { |
| return gaXbaseWithAnnotations.getXNumberLiteralAccess(); |
| } |
| |
| public ParserRule getXNumberLiteralRule() { |
| return getXNumberLiteralAccess().getRule(); |
| } |
| |
| //XStringLiteral returns XExpression: |
| // {XStringLiteral} value=STRING; |
| public XbaseGrammarAccess.XStringLiteralElements getXStringLiteralAccess() { |
| return gaXbaseWithAnnotations.getXStringLiteralAccess(); |
| } |
| |
| public ParserRule getXStringLiteralRule() { |
| return getXStringLiteralAccess().getRule(); |
| } |
| |
| //XTypeLiteral returns XExpression: |
| // {XTypeLiteral} "typeof" "(" type=[types::JvmType|QualifiedName] arrayDimensions+=ArrayBrackets* ")"; |
| public XbaseGrammarAccess.XTypeLiteralElements getXTypeLiteralAccess() { |
| return gaXbaseWithAnnotations.getXTypeLiteralAccess(); |
| } |
| |
| public ParserRule getXTypeLiteralRule() { |
| return getXTypeLiteralAccess().getRule(); |
| } |
| |
| //XThrowExpression returns XExpression: |
| // {XThrowExpression} "throw" expression=XExpression; |
| public XbaseGrammarAccess.XThrowExpressionElements getXThrowExpressionAccess() { |
| return gaXbaseWithAnnotations.getXThrowExpressionAccess(); |
| } |
| |
| public ParserRule getXThrowExpressionRule() { |
| return getXThrowExpressionAccess().getRule(); |
| } |
| |
| //XReturnExpression returns XExpression: |
| // {XReturnExpression} "return" -> expression=XExpression?; |
| public XbaseGrammarAccess.XReturnExpressionElements getXReturnExpressionAccess() { |
| return gaXbaseWithAnnotations.getXReturnExpressionAccess(); |
| } |
| |
| public ParserRule getXReturnExpressionRule() { |
| return getXReturnExpressionAccess().getRule(); |
| } |
| |
| //XTryCatchFinallyExpression returns XExpression: |
| // {XTryCatchFinallyExpression} "try" expression=XExpression (catchClauses+=XCatchClause+ ("finally" |
| // finallyExpression=XExpression)? | "finally" finallyExpression=XExpression); |
| public XbaseGrammarAccess.XTryCatchFinallyExpressionElements getXTryCatchFinallyExpressionAccess() { |
| return gaXbaseWithAnnotations.getXTryCatchFinallyExpressionAccess(); |
| } |
| |
| public ParserRule getXTryCatchFinallyExpressionRule() { |
| return getXTryCatchFinallyExpressionAccess().getRule(); |
| } |
| |
| //XSynchronizedExpression returns XExpression: |
| // => ({XSynchronizedExpression} "synchronized" "(") param=XExpression ")" expression=XExpression; |
| public XbaseGrammarAccess.XSynchronizedExpressionElements getXSynchronizedExpressionAccess() { |
| return gaXbaseWithAnnotations.getXSynchronizedExpressionAccess(); |
| } |
| |
| public ParserRule getXSynchronizedExpressionRule() { |
| return getXSynchronizedExpressionAccess().getRule(); |
| } |
| |
| //XCatchClause: |
| // "catch" "(" declaredParam=FullJvmFormalParameter ")" expression=XExpression; |
| public XbaseGrammarAccess.XCatchClauseElements getXCatchClauseAccess() { |
| return gaXbaseWithAnnotations.getXCatchClauseAccess(); |
| } |
| |
| public ParserRule getXCatchClauseRule() { |
| return getXCatchClauseAccess().getRule(); |
| } |
| |
| //Number hidden(): |
| // HEX | (INT | DECIMAL) ("." (INT | DECIMAL))?; |
| public XbaseGrammarAccess.NumberElements getNumberAccess() { |
| return gaXbaseWithAnnotations.getNumberAccess(); |
| } |
| |
| public ParserRule getNumberRule() { |
| return getNumberAccess().getRule(); |
| } |
| |
| /// ** |
| // * Dummy rule, for "better" downwards compatibility, since GrammarAccess generates non-static inner classes, |
| // * which makes downstream grammars break on classloading, when a rule is removed. |
| // * / StaticQualifier: |
| // (ValidID "::")+; |
| public XbaseGrammarAccess.StaticQualifierElements getStaticQualifierAccess() { |
| return gaXbaseWithAnnotations.getStaticQualifierAccess(); |
| } |
| |
| public ParserRule getStaticQualifierRule() { |
| return getStaticQualifierAccess().getRule(); |
| } |
| |
| //terminal HEX: |
| // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F" | "_")+ ("#" (("b" | "B") ("i" | "I") | ("l" | "L")))?; |
| public TerminalRule getHEXRule() { |
| return gaXbaseWithAnnotations.getHEXRule(); |
| } |
| |
| //terminal INT returns ecore::EInt: |
| // "0".."9" ("0".."9" | "_")*; |
| public TerminalRule getINTRule() { |
| return gaXbaseWithAnnotations.getINTRule(); |
| } |
| |
| //terminal DECIMAL: |
| // INT (("e" | "E") ("+" | "-")? INT)? (("b" | "B") ("i" | "I" | "d" | "D") | ("l" | "L" | "d" | "D" | "f" | "F"))?; |
| public TerminalRule getDECIMALRule() { |
| return gaXbaseWithAnnotations.getDECIMALRule(); |
| } |
| |
| //JvmTypeReference: |
| // JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* | |
| // XFunctionTypeRef; |
| public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmTypeReferenceRule() { |
| return getJvmTypeReferenceAccess().getRule(); |
| } |
| |
| //ArrayBrackets: |
| // "[" "]"; |
| public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() { |
| return gaXbaseWithAnnotations.getArrayBracketsAccess(); |
| } |
| |
| public ParserRule getArrayBracketsRule() { |
| return getArrayBracketsAccess().getRule(); |
| } |
| |
| //XFunctionTypeRef: |
| // ("(" (paramTypes+=JvmTypeReference ("," paramTypes+=JvmTypeReference)*)? ")")? "=>" returnType=JvmTypeReference; |
| public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() { |
| return gaXbaseWithAnnotations.getXFunctionTypeRefAccess(); |
| } |
| |
| public ParserRule getXFunctionTypeRefRule() { |
| return getXFunctionTypeRefAccess().getRule(); |
| } |
| |
| //JvmParameterizedTypeReference: |
| // type=[JvmType|QualifiedName] ("<" arguments+=JvmArgumentTypeReference ("," arguments+=JvmArgumentTypeReference)* ">" |
| // (=> ({JvmInnerTypeReference.outer=current} ".") type=[JvmType|ValidID] ("<" arguments+=JvmArgumentTypeReference ("," |
| // arguments+=JvmArgumentTypeReference)* ">")?)*)?; |
| public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmParameterizedTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmParameterizedTypeReferenceRule() { |
| return getJvmParameterizedTypeReferenceAccess().getRule(); |
| } |
| |
| //JvmArgumentTypeReference returns JvmTypeReference: |
| // JvmTypeReference | JvmWildcardTypeReference; |
| public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmArgumentTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmArgumentTypeReferenceRule() { |
| return getJvmArgumentTypeReferenceAccess().getRule(); |
| } |
| |
| //JvmWildcardTypeReference: |
| // {JvmWildcardTypeReference} "?" (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* | |
| // constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?; |
| public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() { |
| return gaXbaseWithAnnotations.getJvmWildcardTypeReferenceAccess(); |
| } |
| |
| public ParserRule getJvmWildcardTypeReferenceRule() { |
| return getJvmWildcardTypeReferenceAccess().getRule(); |
| } |
| |
| //JvmUpperBound: |
| // "extends" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() { |
| return gaXbaseWithAnnotations.getJvmUpperBoundAccess(); |
| } |
| |
| public ParserRule getJvmUpperBoundRule() { |
| return getJvmUpperBoundAccess().getRule(); |
| } |
| |
| //JvmUpperBoundAnded returns JvmUpperBound: |
| // "&" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() { |
| return gaXbaseWithAnnotations.getJvmUpperBoundAndedAccess(); |
| } |
| |
| public ParserRule getJvmUpperBoundAndedRule() { |
| return getJvmUpperBoundAndedAccess().getRule(); |
| } |
| |
| //JvmLowerBound: |
| // "super" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() { |
| return gaXbaseWithAnnotations.getJvmLowerBoundAccess(); |
| } |
| |
| public ParserRule getJvmLowerBoundRule() { |
| return getJvmLowerBoundAccess().getRule(); |
| } |
| |
| //JvmLowerBoundAnded returns JvmLowerBound: |
| // "&" typeReference=JvmTypeReference; |
| public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() { |
| return gaXbaseWithAnnotations.getJvmLowerBoundAndedAccess(); |
| } |
| |
| public ParserRule getJvmLowerBoundAndedRule() { |
| return getJvmLowerBoundAndedAccess().getRule(); |
| } |
| |
| //JvmTypeParameter: |
| // name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?; |
| public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() { |
| return gaXbaseWithAnnotations.getJvmTypeParameterAccess(); |
| } |
| |
| public ParserRule getJvmTypeParameterRule() { |
| return getJvmTypeParameterAccess().getRule(); |
| } |
| |
| //QualifiedNameWithWildcard: |
| // QualifiedName "." "*"; |
| public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() { |
| return gaXbaseWithAnnotations.getQualifiedNameWithWildcardAccess(); |
| } |
| |
| public ParserRule getQualifiedNameWithWildcardRule() { |
| return getQualifiedNameWithWildcardAccess().getRule(); |
| } |
| |
| //XImportSection: |
| // importDeclarations+=XImportDeclaration+; |
| public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() { |
| return gaXbaseWithAnnotations.getXImportSectionAccess(); |
| } |
| |
| public ParserRule getXImportSectionRule() { |
| return getXImportSectionAccess().getRule(); |
| } |
| |
| //XImportDeclaration: |
| // "import" (static?="static" extension?="extension"? importedType=[JvmDeclaredType|QualifiedNameInStaticImport] |
| // (wildcard?="*" | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] | |
| // importedNamespace=QualifiedNameWithWildcard) ";"?; |
| public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() { |
| return gaXbaseWithAnnotations.getXImportDeclarationAccess(); |
| } |
| |
| public ParserRule getXImportDeclarationRule() { |
| return getXImportDeclarationAccess().getRule(); |
| } |
| |
| //QualifiedNameInStaticImport: |
| // (ValidID ".")+; |
| public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() { |
| return gaXbaseWithAnnotations.getQualifiedNameInStaticImportAccess(); |
| } |
| |
| public ParserRule getQualifiedNameInStaticImportRule() { |
| return getQualifiedNameInStaticImportAccess().getRule(); |
| } |
| |
| //terminal ID: |
| // "^"? ("a".."z" | "A".."Z" | "$" | "_") ("a".."z" | "A".."Z" | "$" | "_" | "0".."9")*; |
| public TerminalRule getIDRule() { |
| return gaXbaseWithAnnotations.getIDRule(); |
| } |
| |
| //terminal STRING: |
| // "\"" ("\\" . / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\""))* "\""? | "\'" ("\\" . |
| // / * ('b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\') * / | !("\\" | "\'"))* "\'"?; |
| public TerminalRule getSTRINGRule() { |
| return gaXbaseWithAnnotations.getSTRINGRule(); |
| } |
| |
| //terminal ML_COMMENT: |
| // "/ *"->"* /"; |
| public TerminalRule getML_COMMENTRule() { |
| return gaXbaseWithAnnotations.getML_COMMENTRule(); |
| } |
| |
| //terminal SL_COMMENT: |
| // "//" !("\n" | "\r")* ("\r"? "\n")?; |
| public TerminalRule getSL_COMMENTRule() { |
| return gaXbaseWithAnnotations.getSL_COMMENTRule(); |
| } |
| |
| //terminal WS: |
| // (" " | "\t" | "\r" | "\n")+; |
| public TerminalRule getWSRule() { |
| return gaXbaseWithAnnotations.getWSRule(); |
| } |
| |
| //terminal ANY_OTHER: |
| // .; |
| public TerminalRule getANY_OTHERRule() { |
| return gaXbaseWithAnnotations.getANY_OTHERRule(); |
| } |
| } |